Community Profile

photo

Stefanos


Last seen: 5 months ago Active since 2022

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


How can I call my function myfourier again with inputs specified and not entered from the user?
%Q1 f = input('Please enter function rules for variable segments of the function f:') flim= input('Please enter real num...

1 year ago | 1 answer | 0

1

answer

Question


Using the quiver3 function I get multiple not correct vectors. I want to plot a 3D vector stating from x=0, y=0, z=0 to x=4756/1121, y=4767/1121, z=0
figure() [x y z] = meshgrid([4756/1121 4767/1121 0]); u = x; v= y; w= z; quiver3(x, y, z, u, v, w, 'off'); axis equal Usi...

1 year ago | 2 answers | 0

2

answers

Question


I am getting an and bn in terms of t even though it is an integration with limits???
for i = 1:N for k= 2:length(flim) an= (2/T)*int((f(k-1))*cos(N*w0*t)),t,flim(k-1),flim(k); an(i)=an; bn= (2/...

1 year ago | 0 answers | 0

0

answers

Question


Why I'm I getting results in terms of t for an and bn even though it is an integration with specific limits?
%Excercise 4 syms t syms N %prompt = "Please enter a function rules for variable segments of the function f: "; %'Enter 2D a...

1 year ago | 1 answer | 0

1

answer