Domanda


How can i correct this error ?
Hi In my program, i use the function eig to return the eigenvalues : [V,D]=eig(k,m); But i have obtained this error: ...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How can i correct this error ?
Hi My problem is about a three node cantilever beam. I do a program that estimate the mass and stiffness matrix. c is an ...

oltre 9 anni fa | 0 risposte | 0

0

risposte

Domanda


Why is the array content displayed different from its input ?
Hi When i display this array : pl =[1 1 10.5e+10 3.4e-01 9e+03]; with the instruction disp(pl) The result disp...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How to transform a mass matrix de dim 12*12 into 6*6 ?
Hi I want to do a model of FEM of a cantilever beam divided into two element (Three node) . I have a part of program that e...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


how to solve this error ?
Hi I have this function then m and k are an input matrices having dimension (12,12) but an error message is displayed lik...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


How to supress a warning message ?
Hi When i open matlab i have this warning message : Function max has the same name as a MATLAB builtin. We suggest you renam...

oltre 9 anni fa | 1 risposta | 0

1

risposta

Domanda


What's the alternative of ode45 function ?
Hi, i have done this function to resolve a second order differential equation but i want to fix the time as a constant equal to ...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How can i plot the magnitude of displacement ?
Hi, i want to plot the magnitude of displacement x(:,1) and i have this program but the curve displacement =f(rload) mentioned i...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to draw the magnitude of displacement ?
Hi, i want to plot the magnitude of tip displacement x(:,1) in function of rload but i obtain zeros. I don't know where is the p...

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How can i plot the response of function as a vector ?
Hi, To resolve a secon order differential equation i do this function , but i have a problem when i want to plot xdot. ...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


how to plot the magnitude of a vector ?
i have a curve ([0:20:50000],x(:,3)) I want to calculate the magnitude of this curve, but i obtain zero. Th curve is attache ...

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How can i display a vector as a result of a for loop ?
I have thi loop for and i want to display the mmk but i can't for rload=0:20:50000 v = -x(:,3)*rload; mn =(max(v)-min(v))...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Domanda


how can i calculate the rms of a vector ?
my problem consist to calculate the rms of v using for loop. But this for loop display vrms as zeros for i=1:2500 vs=sum...

quasi 10 anni fa | 2 risposte | 0

2

risposte

Domanda


How can i display a vector as a result of a for loop ?
I have this for loop and i want to display the vector of mn. But this program display me only the last value of mn : for...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to get rid of the error: Error using horzcat. Dimensions of matrices being concatenated are not consistent.
Hi When i solve a second order differential equation with constant coefficients, i obtained a solution. But when i change the...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How to get rid of the error: Error using horzcat. Dimensions of matrices being concatenated are not consistent.
Hi When i solve a second order differential equation with constant coefficients, i obtained a solution. But when i change these...

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to solve an equation of motion with the ode solver when the spring constant and the mass are dependent on the mode shapes of the solution of the equation of motion
Hi To resolve a second order differential equation with mass M and the spring constant K are dependent on the mode shapes, i n...

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How to solve an equation of motion with the ode solver when the spring constant and the mass are dependent on the mode shapes of the solution of the equation of motion
Hi To resolve a second order differential equation with mass M and the spring constant K are dependent on the mode shapes, i n...

quasi 10 anni fa | 0 risposte | 0

0

risposte

Domanda


How do I fix the error Function definitions are not permitted at the prompt or in scripts.
Hello, Whenever I create a function on matlab, an error message appears as follows: Error: Function definitions are not...

quasi 10 anni fa | 1 risposta | 0

1

risposta

Domanda


How can i solve this function below ?
To solve a second order differential equation : dx/dt = Ax + Bu(t) I use this function but i haven't obtain any result : f...

quasi 10 anni fa | 1 risposta | 0

1

risposta