Question

Integrating Bessel Function Including for Each Value of Array-Valued Vector

I'd like to integrate a function which has bessel functions in it for each value of _Q_. I've seen that I should use _quadv_ ...

alrededor de 2 años ago | 1 answer | 0

Question

How can I solve findpeaks() error?

I'd like to fix this error that appears when I use _findpeaks_: Error using findpeaks Expected X to be finite. E...

alrededor de 2 años ago | 1 answer | 0

Question

How can I insert an image when publishing a document?

I would like to publish a MATLAB code into an html and pdf files and I want to insert an image from my computer into the code i....

alrededor de 2 años ago | 2 answers | 0

Question

Why can 'e' not be positive in levinson function?

I know that, theoretically, the error prediction comping out from the levinson algorithm should be positive and less than 1. ...

alrededor de 2 años ago | 1 answer | 0

Answered

Why zero-padding not visualized in this signal?

Thank you. I have realized that I should zero-pad the y-axis not the x-axis.

Why zero-padding not visualized in this signal?

Thank you. I have realized that I should zero-pad the y-axis not the x-axis.

alrededor de 2 años ago | 0

| accepted

Question

Why zero-padding not visualized in this signal?

Attached the image produced by the simple code below: t = -10:.1:10-.1; tz = [zeros(1,50) t zeros(1,50)]; f...

alrededor de 2 años ago | 1 answer | 0

Question

Can corrupted m-files be fixed?

I have recovered some of my m-files after formatting my partitions. But sadly, found them corrupted. Is there anyway to fix ...

alrededor de 2 años ago | 1 answer | 0

Question

How can I pass 2-D meshgridded var into a 3-D matrix?

I need to pass _X_ and _Y_ which are 2-D meshgridded matrices into _c_ the 3-D matrix. where _k_ is a constant and _zv_ is a ve...

más de 2 años ago | 1 answer | 0

Question

How to read low amplitudes on a scope in simulink?

I'm trying to measure the peak-to-peak of the attached signal. But as you can see, all numbers are in the same order of magnitud...

más de 2 años ago | 0 answers | 0

Question

How to avoid legend error?

I keep receiving this error: Error using vertcat Dimensions of matrices being concatenated are not consistent. I solv...

más de 2 años ago | 1 answer | 0

Question

Why do I receive 'Data type mismatch' error when using a VCO in simulink?

This is the error: Data type mismatch. Input port 2 of '[FileName]/Frequency of single tone/Calculate single tone frequ...

más de 2 años ago | 0 answers | 0

Question

How to pass values to a vector inside an anonymous function for ezplot?

I wonder how can I benefit from passing additional parameter for _ezplot_ function. I'm trying to plot implicit function tha...

más de 2 años ago | 0 answers | 0

Question

rms value greater than peak-to-peak for the same vector?!

How can this be possible? When I applied _rms()_ and _peak2peak()_ function on the same vector, I found that _rms_ value is b...

más de 2 años ago | 0 answers | 0

Question

Peaks Not Found by findpeaks()

Is there any way to find peaks rather than using _findpeaks()_ function which didn't get the peaks of the attached curve?

más de 2 años ago | 1 answer | 0

Question

How to flip a data on an image?

I would like to flip the blue points upside down (in the attached image): This is my code: hAxes = gca; %...

más de 2 años ago | 2 answers | 0

Question

How to flip a line upside down?

How can I flip this line upside down: <</matlabcentral/answers/uploaded_files/68827/flipLine.png>> This is my code that m...

más de 2 años ago | 1 answer | 0

Question

How can I know the new value of y after spline interpolation?

I used _csaps()_ and assigned it into cs which is a structure that holds _breaks_ (x-interpolated values), _coefficients_, _orde...

más de 2 años ago | 1 answer | 0

Question

Plotting on image is different than on figure?

I plotted a curve (after _hold on_) on an image. Then I plotted the same curve on a separate figure. Found out that they ar...

más de 2 años ago | 0 answers | 0

Question

How can I make the figure created by the plot function be an object?

I would like to get a variable out of the plot function so that I can use it for the rest of the code. In other words, I need ...

más de 2 años ago | 1 answer | 0

Question

How can I animate a parabolic function?

%Here is my code to plot -x^2 slowly like the comet function: x = linspace(0,4*pi,100); for a = linspace(-...

más de 3 años ago | 1 answer | 0

Question

Does Mathworks support free license for students using MATLAB and Simulink?

I'd like to know if it's free or not.

más de 3 años ago | 2 answers | 0