MATLAB QUESTIONS & EXPERT ANSWERS

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

Illustration
How declare a variable only once in a matlab function block and then use the previous value the nex time the function is used?
Ryansmith - 2020-04-29

I am using the matlab function block in simulink. I need it to continuously read its inputs and change its outputs. The problem is that I must declare...

How does using multiple SimPowerSystems Ideal Switch blocks in series with snubber impedances compare with reality in my power network in SimPowerSystems 4.3 (R2006b)?
Walkerwilliams01 - 2020-04-28

When using multiple ideal switches in series, the snubber circuit must be used. A high value resistance value is then added to allow simulation to wor...

How can I simulate a load with DC comsumption in SimPowerSystem?
kellysmith9 - 2020-04-28

I´m doing a circuit or model with a cell array and a battery in order to simulate the consumption of a home, but I have not get to do it because SPS ...

Simulink, modeling of force which is a function of AC voltage
Anderson85 - 2020-04-28

I am relatively new in the matlab/simulink world. I want to model a force (output) which is dependent on the square of AC Voltage (voltage) * Constant...

Why all the plots from my program originate from (0,0)?
henrysmith - 2020-04-28

I am building a state-space feedback controller for a single phase bipolar inverter by using MATLAB Simulink. I want to extact the angle of the output...

How to detect skin region in YCbCr color space?
johnwilson92 - 2020-04-22

I want to detect skin region in images which contain hand, foot or mouth and remove the background. The YCbCr color space is used in my work. I can co...

How do I superimpose images in MATLAB?
Evasmith95 - 2020-04-22

I would like to know how to superimpose images in MATLAB....

How do I run a simulation with a transfer function block and a multi dimensional input ?
Noah23 - 2020-04-18

[Context] I want to simulate a complex system many times in order to calculate the average behaviour of the system and I want to avoid the many compil...

how to randomly select an element from an array having the least probability in matlab
panilkumariitb - 2020-04-16

how to randomly select an element from an array having the least probability in matlab example : A = [ 1,2,3,4,5,6] P = [ 0.01,0.2,0.25.0.2,0.25,0.09]...

Plot an Arc on a 2D Grid by given radius and end points
isabellasmith01 - 2020-04-15

I have one question, how do I plot the arc on a graph by giving the radius and it end points? It start points is the points set by me take example (2,...

Get a Free Consultation or a Sample Assignment Review!