MATLAB QUESTIONS & EXPERT ANSWERS

Ask an expert. Trust the answer.
Your academic and career questions answered by verified experts.

Illustration
How can I obtain the difference between two data stored in workspace?
saleh shlimet - 2023-12-05

I experimentally tested a motor and the measured speed and the reference speed were stored in the workspace. My supervisor asked me to obtain the spee...

How to include complex numbers in fprintf function?
McCormack - 2023-12-05

lambda = [1.064e-6]; R = [30]; w=[0.001]; q = (1./R- i* lambda./pi./w.^2).^(-1); a=1; p=1; m=1; probe_r=linspace(0,0.003,100); probe_theta=linspace(0,...

How to add variable to Table in MatLab App Designer ?
ryem berrada - 2023-12-05

Hello,   I have a few variables that I would like to add into columns of a Table in MatLab App designer.   Ma variables are: app.A, app.B, app.C   ...

Finding the first instance of a value in an array
Pelajar UM - 2023-11-28

I have an array with many rows and many columns. I want to search the array row by row, find the first instance of a value that is above 170 (yellow c...

Find function misbehaves when Indexing into array
Michael - 2023-11-28

I have a function which searches an array for the first value which is below a given tolerance. First, it creates a logic array using the input and a ...

How do I prompt for a variable in one script and use it in another
Will - 2023-11-28

My first script which prompts the user is as follows   %this main script calls to one main function(isPalindrome) with a subfunction(removeNonAlpha) ...

Can you use the Driving Scenario Designer on a plot3 in matlab?
magnus.naldal - 2023-11-23

I have made a bridge in Matlab and just learned about the extension Driving Scenario Designer and now I'm wondering if it is possible to make a car dr...

How do I create a matrix that is only the frequencies within the COI of a wavelet transform coherence?
Carly - 2023-11-22

I am measuring the wavelet transform coherence of two signals (x and y). I then am trying to take the average coherence within various frequency range...

Why is my PEAK-System CAN device not detected in Vehicle Network Toolbox?
sunil_shah - 2023-11-21

Why isn't my PEAK-System device detected by the "canChannelList" or "canHWInfo" functions in MATLAB, or using the CAN Configuration / CAN Receive / C...

How to make a open switch fault using ePWM block(Texas instruments c2000)?
inhyeok hwang - 2023-11-21

I'm trying to make open switch fault situation (or the duty cycle of the high side switch to be 0 while not effects the low side one.) . And I'm using...

Get a Free Consultation or a Sample Assignment Review!