Answered
Can I implement a controller that uses an external physical device to control the simscape physical model motion?
To include an external device to your Simscape model, you need to use hardware-in-loop (HIL) simulation. This is possible by con...

4 years ago | 0

Answered
vpasolve and independent equations
‘vpasolve’ solves algebraic equations using numerical methods whereas ‘solve’ solves the equations symbolically. If possible, so...

4 years ago | 0

| accepted

Answered
How do I export data from the embedded code?
Set the following parameters under ‘Model Configuration Parameters’ (gear button available in the toolbar): Code Generation ->...

4 years ago | 0

Answered
Organizing different plots of main effects plot (DOE) for different response variables inside the same Figure window.
The “maineffectsplot” creates subplots depending on the number od ‘GROUP’ variables. Since it creates handles for the subplots, ...

4 years ago | 0

Answered
solve the riccati equations in matlab
You can use the following command to solve your equation: [X,K,L] = idare(A,B,W,U,[],[]); The equation provided in the documen...

4 years ago | 0

Answered
Regeneration of signal using different Intrinsic Mode Function Components.
The original signal is the sum of Intrinsic Mode Functions (IMFs) and the last residue (): To obtain accurate results, the ...

4 years ago | 0

Answered
About interp1 function
The interp1 function performs 1D interpolation and computes one y-value for the corresponding x-value. Due to this only one poin...

4 years ago | 0

Answered
binning data and mapping
You can use the binscatter function to create a binned scatter plot. binscatter(latidx , longidx ,[5 5]); A binned scatter pl...

4 years ago | 0

Answered
Optical Flow in Single Video Frame
In the example (https://www.mathworks.com/help/vision/ref/opticalflowlk.html), an optical flow object has been created using the...

4 years ago | 0

Answered
Save Figure in workspace
You can use the following lines of code to save the figure to workspace and set the desired resolution: f= frame2im(getframe(gc...

4 years ago | 0