Community Profile

photo

Aijalon Marsh


Last seen: alrededor de 2 meses hace Con actividad desde 2020

Statistics

  • Thankful Level 3
  • Thankful Level 2

Ver insignias

Content Feed

Ver por

Pregunta


I'm trying to plot to function but keep getting an error saying "Vectors must be the same length." how do I fix this
for w = [2,5,8]' for t = (0:1:6)' T = 0.15; y = 1./(sqrt(1+(w*T).^2)); y1 = -atan(w*T); plot(t,y,t,y1) ...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


I made a function and m-file to call that function but for some reason its giving me an error of "Undefined function or variable y" please help to fix my code
Function: function MagnitudeRatio2ndOrder(E, W, w) y= 1/(sqrt((1-(w/W)^2)^2+((2*E*w)/W)^2)); end New m-file: clear E = 0...

11 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Unrecognized function or variable
So I have made a funtion and an m-file for calling that function but for some reason when I run the my m-file it says that the y...

11 meses hace | 2 respuestas | 0

2

respuestas

Pregunta


Why am I getting Index exceeds the number of array elements. Index must not exceed 751.
clear syms t; Fs = 1.5; % Sampling frequency T = 1/Fs; % Sampling period ...

12 meses hace | 1 respuesta | 0

1

respuesta

Pregunta


Why am I getting Index in position 1 is invalid. Array indices must be positive integers or logical values.
clear syms t; Fs = 1.5; % Sampling frequency T = 1/Fs; % Sampling period ...

12 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


why am I getting "Array indices must be positive integers or logical values"
clear syms t; Fs=5; T=1/Fs; L=1500; t=(0:L-1)*T; Yo=4+4.005*(sin(t)+sin(3*t)/3+sin(5*t)/5+sin(7*t)/7); y = fft(Yo)...

12 meses hace | 3 respuestas | 0

3

respuestas

Pregunta


Plugging function in a function
Hello so I have this problem that requires me to plug y(0)=0 into y=C1 I was looking into something called function handling but...

alrededor de 2 años hace | 0 respuestas | 0

0

respuestas

Pregunta


Sturm-Liouville eigenfunctions and the equations that define the eigenvalues
Hey so I'm trying to solve this Sturm-Liouville problem. Here is something I've written so far but I'm not sure how I can apply ...

alrededor de 2 años hace | 0 respuestas | 2

0

respuestas

Pregunta


Complex Fourier Series in MATLAB
Hello I'm tyring to solve this Complex fourier series porblem but for some reason when I solve for F1 I get an error and I'm not...

más de 2 años hace | 1 respuesta | 0

1

respuesta

Respondida
Expansion in a Fourier Series
Because when I did the hand calculations for this problem after sovling the definite integral for bn I got (1-cos(n*pi))/(n*pi) ...

más de 2 años hace | 0

Respondida
Expansion in a Fourier Series
Hey I was writing this code for expansion in fouries series I have this code but the bn coefficient for some reason it wont int...

más de 2 años hace | 0

Pregunta


Expansion in a Fourier Series
I created a code that is supposed to calculate a0, an, bn, and f(x), for some reason it won't work when I include cos(n*pi)=(-1)...

más de 2 años hace | 4 respuestas | 0

4

respuestas