MATLAB Solutions & Expert Answers

Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.

MATLAB expert answering student questions
Showing page 30 of 208 Ask a Question
Why the feed side is open? (Slotted waveguide example)
Jaehoon Jeong · Jul 25, 2023 · waveguideslotted , slotted waveguide , antenna toolbox

Hi, I'm trying to simulate slotted waveguide antenna using the function 'waveguideSlotted' of antenna toolbox.   However, the example shows that the one face on the feed side is o…

How to regrid along latitude and longitude of a 3d mat file
Muskula · Jul 24, 2023 · interpolation , bilinear interpola... , regrid , gridded data

Hello!   I have a mat file which has the dimensions of 1440x600x365 (0.25x0.25 gridded data ranging from 180° W : 180° E and 90° N : 60° S and i would like to convert to 720x3…

How can I set a initial value for input parameters in FMU?
Shashank Mehta · Jul 24, 2023 · fmu , Simulink , Block Authoring and Simulation Integration , Co-Simulation

I want to co-simulate the FMU in PowerFactory and want to assign initial value for the parameters, how can I do it while creating an FMU.…

How to readjust a timestamp?
Kofi Agyemang Amankwah · Jul 24, 2023 · adjust date , MATLAB , Language Fundamentals , Time Series Objects

Hi all,   I am trying to read some data collected. I made a mistake and inputted 07/24/2023 instead of 07/23/2023. Now the matlab date which is in a number format is unable to cor…

How to calculate 8 days mean from ten years data?
Devendra · Jul 22, 2023 · MATLAB , Language Fundamentals , Data Types , Statistics and Machine Learning Toolbox

I have a code which calculates the 8days mean from single year. It computes 45 eight days from 45X8 = 360 days and last 8days mean from remaining 5 or 6 days of the year. I wish to…

How to calculate errors in pearson linear fit ?
aditi · Jul 20, 2023 · straight line fit , pearson , AI, Data Science, and Statistics , Curve Fitting Toolbox

Hello everyone,   I have done straight line fitting by using polyfit command where i gave polynomial = 1 and found the values of m and c of the equation mx + c = y   Now i want t…

How can I index through logicals?
Rookie Programmer · Jul 12, 2023 · table , index , logicals , for loop , Data Type Identification

How can I index/loop through table(T) to get the rows with logical 1s in T.logical. Also, check if the logical is 0s, if so get the respective row with the string 'High' from T.Lev…

Get a Free Consultation or a Sample Assignment Review!