Community Profile

photo

HADIMARGO


19 total contributions since 2018

HADIMARGO's Badges

  • Thankful Level 2

View details...

Contributions in
View by

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+...

18 days ago | 1 answer | 0

1

answer

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)...

19 days ago | 0 answers | 0

0

answers

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<=...

19 days ago | 1 answer | 0

1

answer

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...

1 month ago | 0 answers | 0

0

answers

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...

1 month ago | 1 answer | 0

1

answer

Question


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

2 months ago | 2 answers | 0

2

answers

Question


how to plot this function

2 months ago | 2 answers | 0

2

answers

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 ...

7 months ago | 1 answer | 0

1

answer

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)...

7 months ago | 1 answer | 0

1

answer

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;

7 months ago | 0 answers | 0

0

answers

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...

7 months ago | 1 answer | 0

1

answer

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((...

7 months ago | 1 answer | 0

1

answer

Question


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

7 months ago | 1 answer | 0

1

answer

Answered
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...

7 months ago | 0

| accepted

Answered
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...

7 months ago | 0

| accepted

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?

7 months ago | 2 answers | 0

2

answers

Answered
HOW I COULD DRAW THIS FUNCTION
can anyone write complete answer with loop?

7 months ago | 0

Answered
HOW I COULD DRAW THIS FUNCTION
my teacher say it isnot correct. you should put it in a loop.

7 months ago | 0

Question


HOW I COULD DRAW THIS FUNCTION

7 months ago | 4 answers | 0

4

answers