Question

How can I change the response to forced excitation?

function Structural_drift % Define initial conditions x(0) & x'(0) x0 = [0 1]; % Time interval t = [0 120]; % Solve equatio...

25 days ago | 0 answers | 0

Question

Solving Vibration equation of motion?

Hello, I'm trying to use ODE45 to solve the vibration equation of motion Mx''+Cx' + Kx = Fsin(w*t)? If there is an alternativ...

28 days ago | 1 answer | 0

Question

permutations of a matrix

Hello, for a linear system equation of Ax = B with A dimensions 5x5 and x, a column vector. Let's say A is a binary matrix of...

29 days ago | 2 answers | 0

Question

How to find damping ratio from halfpower method?

xout=acc_u_2(:,1); fs=20; m = [length(xout), 2^(nextpow2(length(xout)))]; N = 12000; xdft = fft(xout,N); xdft = xdft(1:N/...

5 months ago | 0 answers | 0

Question

How to find Modal Parameters using NExT/ERA?

Hello, The following is a signal received from the first floor of a building, i've have a 12000x5 matrix with each column be...

5 months ago | 0 answers | 0

Question

How to save file as pdf?

imagesc(x,y,img), colorbar, %color plot objectiveoutput = saveas(gcf,'objective.pdf'); ...

9 months ago | 2 answers | 0

Question

How to set up fmincon

I have an objective function which takes input values for a projectile with initial speed v0 and angle theta. Given a target it ...

9 months ago | 2 answers | 0

Question

How to change axes values?

I have plotted a matrix using the imagesc function with the x and y axis being the points of the matrix (1-50) however the posi...

9 months ago | 1 answer | 0

Question

Newton Raphson on Matlab

Gven the equation 1/sqrt(x) + 2log(A/rt(x) + b) with A and b constants. i want to differentiate and then solve using newton rap...

10 months ago | 1 answer | 0

Question

how to read a txt file as input values?

I wish to read a txt file with a 4x4 square of input values st matlab reads the first row and enters them into my inputs, then t...

11 months ago | 1 answer | 0

Question

how to differentiate a function and then evaluate at a predefined variable?

If i wanted to differentiate f=x*y with respect to y and then evaluate at a value y = 6 say. how would i do this? i would write...

11 months ago | 1 answer | 0