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 "less than" condition. Then it…
Ask an expert. Trust the answer.
Academic and engineering questions answered by verified MATLAB professionals.
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 "less than" condition. Then it…
My first script which prompts the user is as follows %this main script calls to one main function(isPalindrome) with a subfunction(removeNonAlpha) %this script prompts the user …
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 ranges. However, I only want to mea…
Why isn't my PEAK-System device detected by the "canChannelList" or "canHWInfo" functions in MATLAB, or using the CAN Configuration / CAN Receive / CAN Transmit blocks in Simulink…
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 a EPWM block from texas instr…
Hello, I have an Edit Field box on the Design view and I opened a callback in the Code View. There is a default value in the Edit Field box that I would like to be used automati…
Hi, I have defined some unit of measure in bus objects, using the bus editor, but whenever I run a simulation I get the following message: Warning: The units 'm3' specified on b…
How to choose the VarMin (Lower Bound of decision Variables) and VarMax (Upper Bound of Variables) of any problem when using the genetic algorithm optimization ? What its effect on…
I've developed an application using the new App Designer. I'd like to have users be able to click a button and save a figure to a .fig file, or some other image format. function…
How can we model this equation in simulink dx/dy + x + y = 1 where x is the input and y is the output? …