photo

HADIMARGO


Last seen: plus de 3 ans il y a Actif depuis 2018

Followers: 0   Following: 0

Statistiques

  • Thankful Level 3

Afficher les badges

Feeds

Afficher par

Question


sort the in plot
hi. i have 2 matrix: a = [ 1.2 6 3] b = [ 2 4 5] How do I plot this so that the x and y axes are arranged from less to more?...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


how can i find out how many time my for runs?
so i have a code. i put it in a for loop to repeat it 10.000 Times! I want to know how many times it has been repeated? how c...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


replacing a matrix in loop
hi. i want to replace the matrix a in x(1,i) , when the x(1,i) == 0 and matrix b, when the x(1,i) == 1. how could i do this? c...

plus de 3 ans il y a | 2 réponses | 0

2

réponses

Question


give matrix element in for loop
hi. i want to make this kind of code in matlab: a = [ 1 2 3 ]; b1 = 1; b2 = 3; b3 = 8; for i=1:1:3 a(1,i) = b(i) end ...

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Question


How to Design a lowpass filter by cascading 10 sections of the first-order IIR lowpass filter
I design all of this filter but i can't understand how to make filter cascading 10 section. out teacher said you can conv the t...

presque 4 ans il y a | 1 réponse | 0

1

réponse

Question


shift to left sequence
hi. i want to shift my sequence to left but there is a problem. clc; clear all; close all; % our domain in 11 n = 0:10; ...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


fourier transform of exp
hi.i want to plot fourier transform of this: my code is this: clc clear all t=-5:0.01:5; y=exp(-0.5*abs(t)); Fs=1; X=...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


convolution of 2 discrete signal
hi. this is my code: clc clear all n=-2:1:12; nx = -2:8 ; nh = 0:12; % Set time vectors for x and h x = usD(n-1) - usD(n...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


property of Dirac delta function in matlab
hey guys! hello i want to plot the property of Dirac delta function in matlab; my uncompleted code: clc clear all t=0:0....

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


fourier transform of this:
hi this is my shape that i want it's fourier transform this is my code: clc clear all t=-3:0.0001:3; %x=-heaviside(t+...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


fourier series of this function
i want the fourier seris of function: my code: clear all clc syms x f=(x+2).*(x>-2)-(x+2).*(x>-1)+(1).*(x<=1)-(1).*(x<=-1)...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


plot this alternative function
how could i alternative my function? here is my code: clc clear all t=-5:0.01:5; f=(t+2).*(t>-2)-(t+2).*(t>-1)+(1).*(t<=...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


how to plot this:
hi. this is my code: close all clear all syms t; f=1*(t>=-1 & t<=1); w=pi; FT= int(f*exp(-i*w*t),-inf,inf); ezplo...

plus de 5 ans il y a | 1 réponse | 0

0

réponse

Question


fourier transform of Rectangular pulse
hi guys. i want to find fourier transform of Rectangular pulse with "fourier" order and i wrote this code: close all clear all...

plus de 5 ans il y a | 1 réponse | 0

1

réponse

Question


plot a delta function
hi guys. i want to plot this simple delta function. pls plot this with delta function code.

plus de 5 ans il y a | 3 réponses | 0

3

réponses

Question


how to plot this function

plus de 5 ans il y a | 2 réponses | 0

2

réponses

Question


what is the error Matrix dimensions must agree.?
code: clc clear all; x=linspace(-10,10,1000); t=0:1:20; k=10; l=10; u_x=2*k*x/l.*(x>0 & x<l/2)+2*k*(1-x)/l.*(x>l/2 ...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


how could i animate this?
x=linspace(-5,5,1000); a_n=2; b_n=3; l=10; for n=1:1:10 for t=0:1:10 y=a_n*cos((n*pi*t)/l)+b_n*sin((n*pi*t)/l)...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


how could i animate Fourier series in matlab?
Fourier series is this: for solving i assume : f=sin(x); g=cos(x); N=10; l=10; n=1:N;

presque 6 ans il y a | 1 réponse | 0

0

réponse

Question


problems of this function
i want to draw this function but my code has an error: code: x=linspace(-5,5,1000); n=double(1:1:100); l=2; f=sin(x); g...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


error: Matrix dimensions must agree
code: x=linspace(-5,5,1000); n=double(1:1:100); l=2; f=sin(x); g=cos(x); s=0; landa=((n*pi)/l ); a=(2/l)*int(f.*sin((...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Question


how could i animate a series as an animation ?
a function like : just with loop

presque 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
HOW SHOULD DRAW THIS IN LOOP FORM? WHERE IS THE PROBLEM IN MY CODE?
finally i could write the correct answer! hahaha tnx guys for pushing me lonely! x=linspace(-5,5,1000); s=0; for n=1:1:1...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
HOW I COULD DRAW THIS FUNCTION
final answer by myself!! x=linspace(-5,5,1000); s=0; for n=1:1:10000 p=((-1)^(n+1)*sin(n*pi*x))/n; s=s+p; end f=(2...

presque 6 ans il y a | 0

| A accepté

Question


HOW SHOULD DRAW THIS IN LOOP FORM? WHERE IS THE PROBLEM IN MY CODE?
my code: s=0; for n=1:0.01:10 s=s+(-1^n+1*sin(n*pi*x)); end f=(2/pi)*s; plot(x,f) Where is wrong in my code?

presque 6 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
HOW I COULD DRAW THIS FUNCTION
can anyone write complete answer with loop?

presque 6 ans il y a | 0

Réponse apportée
HOW I COULD DRAW THIS FUNCTION
my teacher say it isnot correct. you should put it in a loop.

presque 6 ans il y a | 0

Question


HOW I COULD DRAW THIS FUNCTION

presque 6 ans il y a | 4 réponses | 0

4

réponses