Respondida
Solving Equation (Updated!)
Hello, You didn't use the 'vpasolve' function correctly. The first argument of the function 'vpasolve' should be the equation...

alrededor de 6 años hace | 0

Respondida
how to plot(or view) graphs directly on simulink workspace instead of double clicking scope
You do not need to double click the scope to open the plot. In the scope window, you can select File->Open At Start Of Simulatio...

alrededor de 6 años hace | 0

Respondida
How to read CMYK image
'imread' doesn't support CMYK jpg images. But, it does support CMYK tiff images. So, you can use some third party tools to conve...

alrededor de 6 años hace | 0

Respondida
function output dimension in Simulink
Hi Stefano, The error occurs because your MATLAB function provides the output of a variable-size but, as defined in the <http...

alrededor de 6 años hace | 2

| aceptada

Respondida
Direction of data/axes using heatmap
Hi Jack, You can use the <https://www.mathworks.com/help/matlab/ref/heatmap.html#bvh0gj7-1-yvalues yvalues> property of heatm...

alrededor de 6 años hace | 0

Respondida
Is there a way to reset MatLab/Simulink to initial condition when first loaded?
Hi Elliot, Check out <https://www.mathworks.com/matlabcentral/answers/1093-how-do-i-reset-matlab-to-its-launched-state this> ...

alrededor de 6 años hace | 0

Respondida
i am trying to develop MPC with 2 inputs and 1 output for this i need to include disturbance model but i am getting an error , how will i solve this. I am using state space model
Hi Cifha, Check out <https://www.mathworks.com/help/mpc/examples/control-of-a-multi-input-single-output-plant.html this> exam...

alrededor de 6 años hace | 0

Respondida
I want to learn how to implement WSN in SIMULINK. Can anyone suggest some tutorial?
Hi Akash. You can check out <http://cdn.intechopen.com/pdfs-wm/39337.pdf this> pdf and <https://www.mathworks.com/matlabcentr...

alrededor de 6 años hace | 0

Respondida
PWM signal generator and pulse rise time
Hi Maria, The simulink->discontinuities->rate_limiter block may be useful. You can set separately rising rate and falling rat...

alrededor de 6 años hace | 1

| aceptada

Respondida
Making an image based off RGB values of other image?
I hope your intention is to compare the images in the middle region where they are varying. I performed the logic operation and ...

alrededor de 6 años hace | 0

Respondida
idnlhw command (Hammerstein-Wiener model) for MIMO system? How to set Orders and B and F matrixes for MIMO system?
For the ith output of the jth input, if the polynomial vector is for eg.- pij=[1 2 3], you can define the B like B={p11 p1...

alrededor de 6 años hace | 0

Respondida
What stage to add noise in FMCW radar system?
Hi Aimee, The receiver receives the signal corrupted by noise and performs the estimation on the corrupted signal itself. So,...

alrededor de 6 años hace | 0

Respondida
Include a Gif in Java GUI
Hi, Check out <https://www.mathworks.com/matlabcentral/answers/94495-how-can-i-create-animated-gif-images-in-matlab this> ML ...

alrededor de 6 años hace | 0

| aceptada

Respondida
use imline() to draw a draggable line with fixed length
Hello Yinan, You can use the <https://www.mathworks.com/help/images/ref/imroi.addnewpositioncallback.html addNewPositionCallb...

alrededor de 6 años hace | 0

| aceptada

Respondida
How to filter out peaks in a signal in Simulink?
Hello Darshan, You cannot filter the signal without some delay. You can choose the low pass filter appropriate for your purpo...

alrededor de 6 años hace | 0

| aceptada

Respondida
Fill the region of rotating bounding box with nearest pixel value
Hi Prashant You can design the appropriate mask and then use the functions:- <https://www.mathworks.com/help/matlab/ref/conv2...

más de 6 años hace | 0

Respondida
Can I Download Wavelet Toolbox on Mac?
Hello, You may not have access to the wavelet toolbox as you are using the student version. You can contact your University a...

más de 6 años hace | 0

Respondida
IIR Filter with given transfer function
Hello, From what I understand, you have the numerator and denominator in terms of 's' and the sampling frequency 'fs'. You wa...

más de 6 años hace | 0

Respondida
Calculate Running average of large data set
Hello Benjamin, You can use the <https://www.mathworks.com/help/matlab/ref/movmean.html movmean> function to calculate the mo...

más de 6 años hace | 1

| aceptada

Respondida
Running calculations over columns
Hi, If you don't want to change the function, you can use the following for loop code to compute the desired output. out...

más de 6 años hace | 1

| aceptada

Respondida
Fast convolution of an large image and small mask
Hi, A possible solution to the problem can be to zero pad the mask image, find its fft using 'fft2', multiply it with the ima...

más de 6 años hace | 0

| aceptada

Respondida
Split imprecise checkerboard pattern
Hi Nassim, I tried finding the checkerboard lines and I could easily do it using edge+hough. i1=imread('chess.png'); ...

más de 6 años hace | 0

| aceptada

Respondida
how to use contours to compare two images?
Hello Hasan, You can use the function 'imcontour' to observe and compare the contours of the two images. But, before that, yo...

más de 6 años hace | 0

Respondida
Calculating the Percent White Area from Stacked Images
Hi Sarah, In the code you mentioned, I have assumed that in your second line of code, you are binarizing I and not IBW and yo...

más de 6 años hace | 0

Respondida
How can I do inverse FFT? I have only frequency domain signal.
I understand that the voltage signal you want to take IFFT of is a constant signal. If you just do ifft(input_V); you sh...

más de 6 años hace | 0

Respondida
How can I do IFFT? only using frequency domain signal
I understand that the voltage signal you want to take IFFT of is a constant signal. If you just do ifft(input_V) you sh...

más de 6 años hace | 0

Respondida
RMS of a current
Hi Marino, Select the correct RMS block from the library: 'DSP System Toolbox/Statistics'. Check the 'Running RMS' option in ...

más de 6 años hace | 0

| aceptada

Respondida
How do I write in a function to close the screen if a certain button is pressed? PTB
Hi Andrew, You can make a small uicontrol object like a pushbutton and use delete(gcbf) in callback. Check the code given below...

más de 6 años hace | 0

| aceptada