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

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 2

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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> ...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
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 ...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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,...

mehr als 7 Jahre vor | 0

Beantwortet
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 ...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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'); ...

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

Beantwortet
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...

mehr als 7 Jahre vor | 0

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

mehr als 7 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 7 Jahre vor | 0

| akzeptiert