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

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 2

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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> ...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 1

| A accepté

Réponse apportée
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 ...

environ 6 ans il y a | 0

Réponse apportée
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...

environ 6 ans il y a | 0

Réponse apportée
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,...

environ 6 ans il y a | 0

Réponse apportée
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 ...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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'); ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

Réponse apportée
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...

plus de 6 ans il y a | 0

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

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 6 ans il y a | 0

| A accepté