Pregunta


how to add colmun to vector
hello how can i add to my colmn vector using for loop ? for exmaple i have this vector [0;0] and i want it to grow by one...

más de 6 años hace | 3 respuestas | 0

3

respuestas

Pregunta


how to solve state space eqution with Euler method ?
hello i am trying to solve this eqution x_diff=A*x+B*U clc; clear all; R=5;L=10e-3;C=10e-6;U=5; A...

más de 6 años hace | 0 respuestas | 0

0

respuestas

Pregunta


ode numerical answer with euler-method
hello i am trying to solve ode with Euler’s Method this state equtin x_dot=A*x+B*U when x_dot=2x1,A=2x2,x=2x1,b=2x1,U=1x1 . ...

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

1

respuesta

Pregunta


discrete ode solver plot
hello i am using in my program ode45 function ,how ever it does not give me the right plot , is there a discrete solver of ode ?...

más de 6 años hace | 0 respuestas | 1

0

respuestas

Pregunta


how to use values from struct in short way ?
hello i have this code : clear all; clc; Values_Of_The_Circuit(1).P_out_sepic=100; Values_Of_The_Circuit(1)...

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

1

respuesta

Pregunta


how to see t in ode function
hello i am using ode command but I cant see the output t , for exmaple i want to see how variable t is displaying in the command...

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

1

respuesta

Pregunta


using t in the ode function
hello i am using the function of ode 45 but if for exmpale I i want to give value by the change of t,for exmaple i have this cod...

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

1

respuesta

Pregunta


object orianted programing (OOP ) cant understand
hello I started to learn progrmaing withh oop becouse me coude became too long , now i have problems understandg how to use it c...

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

2

respuestas

Pregunta


SAVING DATA FROM A LOOP THAT DOES NOT START FROM ONE OR NOT POSITIVE INTEGERS OR LOGICALS
hello for exmplae i want to start a loop from zero like this : { for i=0:0.1:10 y(i)=i*10 ...

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

1

respuesta

Pregunta


how to make symbolic answer better looking ?
hello I used solve function to solve a an eqution how ever the answer is very long for exmaple here is the answer (R*R1...

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

1

respuesta

Pregunta


how insert values of constants after using "solve" command
hello lets say i have this code : syms x y c X=[x ;y] A=[3 -9; c 4] B=[-42 ;2 ] eqn=B==A*X...

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

1

respuesta

Respondida
how to change values from other script ?
first of all thank each of you people for answering me . second i am new at matlab, so i will show the you the codes that i wro...

más de 6 años hace | 0

Pregunta


how to change values from other script ?
hello lets say i have a scripte named A( * _the script A is function_*) and in this script there is a value X=5 , and i have ano...

más de 6 años hace | 3 respuestas | 0

3

respuestas

Pregunta


how to solve 4 state equation ?
A_a=[0 0 0 1/(C1);0 -1/(R*C) 0 0;0 0 -R1/(L1) 0;-1/(L2) 0 0 0] B_a=[0;0;(1/L1);0] u=12 dx/dt=(A_a)*x+...

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

2

respuestas

Pregunta


using solve function and getting 0-by-1
hello i am having this set of 4 differential first order equations : ode1(t) = diff(x(t), t) == (36552913157447*x(t))...

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

1

respuesta

Respondida
solving state variable equation in matlab
ye i tried to use ode system but i cant understand how to write it.could you write me example for second order code ?

más de 6 años hace | 0

Pregunta


solving state variable equation in matlab
hello i am trying this eqution : dx/dt=A*x+B*u y=C*x while A is matrix 4X4,B is matrix 4X1,C is matrix 1X4,and u ...

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

4

respuestas

Pregunta


how to use variable from function ?
hello i dont understand how to use variable from function here is exmaple : function []=my_fun(x) a=22 end b=a+2 ...

casi 7 años hace | 1 respuesta | 0

1

respuesta

Pregunta


simulink:how to find max/min of scope graph?
hello I am using simulink for my project , I need to know the max and min of this graph (the yellow lines I drew in the paint pr...

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

1

respuesta

Pregunta


plot graph from array
i got an array of 100 raws and 9 colms . how can i plot the data from this array ?

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

1

respuesta

Pregunta


how to enter values to array using loop
hello , I want to make a loop for exmpale from 1:1:100 and then enter each number into an array of each number of array . for ex...

más de 7 años hace | 3 respuestas | 0

3

respuestas

Pregunta


how to run simulink simulation from matlab script
hello i need to run simulink simulation from matlab, how to do it using matlab command in script ?

más de 7 años hace | 4 respuestas | 1

4

respuestas

Pregunta


table function , how to save previous data ?
hello i have a project and i want to save all my data in table command. so if i write this commant : DC=table(input('enter d...

más de 7 años hace | 0 respuestas | 0

0

respuestas