답변 있음

Polynomial Fitting of 3 variables

hello and thanks for answering. Since you were so generous and your answer is incredibly informative, I am sure you may answer ...

Polynomial Fitting of 3 variables

hello and thanks for answering. Since you were so generous and your answer is incredibly informative, I am sure you may answer ...

약 1달 전 | 0

질문

Polynomial Fitting of 3 variables

Hello everyone, I would like to know if there is any option of fitting a polynomial function to a set of n points. I mean su...

약 1달 전 | 답변 수: 2 | 0

질문

problems with using the laplace transform

hello everyone, I am trying to plot a system response (y(t)) to an input of u(t)=t*1(t). The laplace transform of u(t) is U(...

11달 전 | 답변 수: 1 | 0

질문

step response of a signal

hey, how can I insert a step signal type which isn't equal to one, but of a type const*1(t). the command step(sys) gives the...

11달 전 | 답변 수: 1 | 0

질문

using the transfer function for further calculation

hey I extracted the transfer function from my state space definition. now I want to multiply it (transfer function) with my (c...

11달 전 | 답변 수: 0 | 0

질문

wrong outcomes when using lsim and step function

hello everyone, I am trying to define a 2nd order system y''(t)+5y'(t)+6y(t)=15u(t) in the state space and get outcomes (y) for...

11달 전 | 답변 수: 0 | 0

질문

seeing the expression of the transfer function

hello, I have a system that is defined in the state space by the command - sys=ss(A,B,C,D); I am trying to extract the Transfe...

11달 전 | 답변 수: 0 | 0

답변 있음

more convenient way to present a result of a symbolic calculation

for some reason I don't get the desired result. the result I got: <</matlabcentral/answers/uploaded_files/139563/comparison%...

more convenient way to present a result of a symbolic calculation

for some reason I don't get the desired result. the result I got: <</matlabcentral/answers/uploaded_files/139563/comparison%...

약 1년 전 | 0

질문

more convenient way to present a result of a symbolic calculation

hello everyone, is there a more convenient/elegant way of presenting the result? I am adding the code: clear all clo...

약 1년 전 | 답변 수: 2 | 0

질문

defining a matrix that can contain symbolic variables

hello I have a matrix that have 5 columns that contain 0/1 in each cell and I am interested to add a column that contains expre...

약 1년 전 | 답변 수: 1 | 0

답변 있음

how to predefine a matrix with one unknown dimension

Thank you all. Both ways are good and I even learned some new elegant things.

how to predefine a matrix with one unknown dimension

Thank you all. Both ways are good and I even learned some new elegant things.

약 1년 전 | 0

질문

how to predefine a matrix with one unknown dimension

hey everybody I am interested in predefining a matrix with unknown dimension. I know that the matrix should have 15 rows (numb...

약 1년 전 | 답변 수: 3 | 0

답변 있음

using the trapz function

according to <https://uk.mathworks.com/help/matlab/ref/trapz.html> I can only give the trapz function the y values of y(x). That...

using the trapz function

according to <https://uk.mathworks.com/help/matlab/ref/trapz.html> I can only give the trapz function the y values of y(x). That...

약 1년 전 | 0

| 수락됨

질문

using the trapz function

hey, I am trying to understand how the trapz works. I am trying to compare its results to an exact solution, but for some reaso...

약 1년 전 | 답변 수: 2 | 0

질문

a problem while using an anonymous function

hello, I can't understand what's wrong. I will appreciate any help. I have a problem while trying to using the integral fun...

약 1년 전 | 답변 수: 2 | 0

질문

mixing randomly existing values in a vector

hello I have a vector of 10 components - [1 1 1 1 1 1 0 0 0 0] I want to randomly (a uniform distribution is preferred) mixing...

약 1년 전 | 답변 수: 2 | 0

답변 있음

2 coupled second order equations

Thank you all for your answers. I read each one and learned a lot.

2 coupled second order equations

Thank you all for your answers. I read each one and learned a lot.

약 1년 전 | 0

답변 있음

problem figuring out 2 different solutions

thank you very much!!! you have no idea how you helped us.

problem figuring out 2 different solutions

thank you very much!!! you have no idea how you helped us.

약 1년 전 | 0

질문

problem figuring out 2 different solutions

hello everyone, my friend and I have to hand out our HW today, and can't understand why after going over and over again on ou...

약 1년 전 | 답변 수: 2 | 0

답변 있음

2 coupled second order equations

Sorry guys but I still can't understand if the code I wrote os feasible...

2 coupled second order equations

Sorry guys but I still can't understand if the code I wrote os feasible...

약 1년 전 | 0

답변 있음

syntax error with using the ode45 function

first of all, thank you for replying. by the way, I am trying to learn Matlab by myself and not an experienced user of it. s...

syntax error with using the ode45 function

first of all, thank you for replying. by the way, I am trying to learn Matlab by myself and not an experienced user of it. s...

약 1년 전 | 0

질문

syntax error with using the ode45 function

<</matlabcentral/answers/uploaded_files/134132/error_message.JPG>> hello, I can't understand what I am doing wrong. the m...

약 1년 전 | 답변 수: 2 | 0

질문

2 coupled second order equations

Hello everyone, I have a problem of 2 coupled second order equations of the form that is described in the photo I attached. By ...

약 1년 전 | 답변 수: 3 | 0

질문

error in using the sum function

I am getting an error I can't understand. I attached the code and a photo. thanks! clear all close all clc m...

약 1년 전 | 답변 수: 2 | 0

질문

finding all the maximum/minimum and their corresponding x values

hello I want to know how I can find all the max values (even if there are many same maximums, like [1 2 3 6 6 6]) of a vector a...

약 1년 전 | 답변 수: 1 | 0

질문

step by step running of matlab

hello, is there a way of running matlab, so I can see each step it does. I would like to point out that I want to see any actio...

약 1년 전 | 답변 수: 2 | 0

답변 있음

solving a second order linear differential equation

thank you very much... sometimes it's not about the code, but the mathematics :-)

solving a second order linear differential equation

thank you very much... sometimes it's not about the code, but the mathematics :-)

약 1년 전 | 0

질문

solving a second order linear differential equation

hello everybody, I was trying to solve a simple pendulum second order linear differential equation of the form y''=-(g/l)*sin(y...

약 1년 전 | 답변 수: 2 | 0