Question

Need help solving first order DiffyQ analytically with matrix

I'm given the equation . This can also be written as . Where where and is a 2x1 matrix with initial value of . I need to solv...

1 year ago | 1 answer | 0

Question

Matrix compare row to column

I just learned how to do matrices today, and am quite confused on this problem. So I have to create a 100 x 100 matrix. Every sp...

1 year ago | 1 answer | 0

Question

Matrix 'if' statement

I just learned how to do matrices today, and am quite confused on this problem. So I have to create a 100 x 100 matrix. Every sp...

1 year ago | 0 answers | 0

Question

FFT of sine wave not plotting

clc; spectrum=[]; omega=2*pi*10; t=0:0.001:10; f=0:0.1:500; for n=1:0.001:10 y(n)=sin(omega*y(n)); spectrum=abs...

1 year ago | 1 answer | 0

Question

Array indices must be positive integers or logical values.

clc; spectrum=[]; omega=2*pi*10; t=0:0.001:10; f=0:0.1:500; for n=1:0.001:10 y(n)=sin(omega*t(n)); spectrum=abs...

1 year ago | 2 answers | 0

Question

Duffing Oscillator issue. "Keep getting Unable to perform assignment because the left and right sides have a different number of elements."

The Duffing Oscillator is as follows: To do this, we have to use the Euler-Cromer method to solve, which follows the followin...

1 year ago | 1 answer | 0