photo

Aijalon Marsh


Last seen: 12 Monate vor Aktiv seit 2020

Followers: 0   Following: 0

Statistik

  • Thankful Level 3
  • Thankful Level 2

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


I wrote a code to replicate the image to the right but for some reason the M3 and the M2 are on opposite sides and the M1 is completely wrong. Please help me fix this
clc clear all %Given: M1 = 3; G = 1.4; tot = 180; Theta= zeros(1,tot); p2_p1= zeros(1,tot); n=1; for i = 1 : 0....

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


On line 53: error = abs(-15 - Theta(i)); . I'm getting an error that says, "Index exceeds the number of array elements. Index must not exceed 17901". what am I doing wrong?
clc clear all %Given: M1 = 3; G = 1.4; tot = 180; Theta= zeros(1,tot); p2_p1= zeros(1,tot); n=1; for i = 1 : 0....

12 Monate vor | 1 Antwort | 0

1

Antwort

Frage


How to mark points at 1-5 on the x-axis in the plot
clc; clear all ; Ld=(0:0.00005:0.005); w=0.001; L=0.007; P=4*0.001; Ta=25; h=375; Kf=175; Kd=0.032; Tb=75; Ap=3.02...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Why won't my plot start 0 and increase to 0.005 like my Ld
Ld=(0:0.001:0.005); w=0.001; L=0.007; P=4*0.001; Ta=25; h=375; Kf=175; Kd=0.032; Tb=75; Ap=3.02*10^-3; N=238; Ac=10^-...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


Incorrect Dimensions for matrix multiplication
Ld=(0:0.001:5); L=0.007; Ta=25; h=375; Kf=175; Kd=0.032; Tb=75; Ap=3.02*10^-3; N=238; Ac=10^-6; m=92.58; Lf=L-Ld; Rt...

etwa ein Jahr vor | 3 Antworten | 0

3

Antworten

Frage


Vectors must be same length
% Define constants L = 50; % Length of the plate in cm W = 30; % Width of the plate in cm T_top = 85; % Temperature at the to...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Frage


Why won't my code run even though it has no errors
% Define constants L = 50; % Length of the plate in cm W = 30; % Width of the plate in cm T_top = 85; % Temperature at the to...

etwa ein Jahr vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 3 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 3 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

etwa 4 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 4 Jahre vor | 0 Antworten | 2

0

Antworten

Frage


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

etwa 4 Jahre vor | 1 Antwort | 0

1

Antwort

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

etwa 4 Jahre vor | 0

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

etwa 4 Jahre vor | 0

Frage


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

etwa 4 Jahre vor | 7 Antworten | 0

7

Antworten