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

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 2

| 已接受

已回答
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...

6 years 前 | 0

已回答
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> ...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 1

| 已接受

已回答
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 ...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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,...

6 years 前 | 0

已回答
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 ...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 1

| 已接受

已回答
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...

6 years 前 | 1

| 已接受

已回答
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...

6 years 前 | 0

| 已接受

已回答
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'); ...

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

已回答
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...

6 years 前 | 0

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

6 years 前 | 0

| 已接受

已回答
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...

6 years 前 | 0

| 已接受