Question

How to plot a Bar Graph without a uniform spacing on the horizontal axis

Hello, suppose I have a bar graph where I am testing some data with How can I have these four values spaced equally on the hori...

1 month ago | 1 answer | 0

Question

Mean of the rand function goes against theory

I was working on the signal from which I expect to obtain three impulses where the first and the third impulse are situated at ...

1 month ago | 1 answer | 0

Question

How to observe this portion of the graph

When I plot the fourier transform of I obtained the following graph: As you can note, on the horizontal part of the signal, th...

2 months ago | 1 answer | 0

Question

How does the command: real(ifft(fftshift(Y))*N) operate?

Hello, I am interested in knowing how this form of the inverse FFT command which is real(ifft(fftshift(Y))*N) works and its ...

2 months ago | 1 answer | 0

Question

Plotting Piecewise function produces white empty graph

Consider the following code : function [X] = FourierSinc(a,b,K) w = linspace(-10,10,600); syms w U = piecewise(abs(w)<a*pi,K...

2 months ago | 1 answer | 0

Question

Index in position 2 exceeds array bounds (must not exceed 2

Background : I am writing a MATLAB algorithm LinearReg that takes as an input the vectors and and solves the linear regression...

4 months ago | 1 answer | 0

Question

Circulant Matrix [Column Wise Traversal]

Below is the row wise circulant matrix algorithm : function C= circulant(x) n=length(x); C=zeros(n,n); C(1,:)=x; for i=2:...

9 months ago | 4 answers | 0