Getting a j x k Matrix from j and k-dimensional Vectors Without a For Loop?
Suppose I have two column vectors: = x 1 vector = x 1 vector And I want to create a x matrix, : = x mat...
3년 이하 전 | 답변 수: 1 | 0
Particle animation inside a rectangle
What do you have so far? I wouldn't worry about the animation at this point; there are a bunch of ways to make that happen once...
3년 이하 전 | 0
Efficiently Averaging Large Sets: Store now, Average later vs. Update now
I am wondering if it is more efficient to store large amounts of data and average later or to update the average as data is gene...
3년 이하 전 | 답변 수: 0 | 0
Law of motion through numerical aproximation
Here's a basic integration of the system, along with plots: % mass, initial time, final time m = 0.12; t0 = 0; tf = 3; % ...
약 3년 전 | 2
Element-Wise Vector Division
I would like to define a new vector based on element-wise scalar division with respect to an existing vector. With scalar multi...
약 3년 전 | 답변 수: 1 | 0
Inverse Laplace transform - there has to be a better way?
I have a transfer function and I am applying a step input . My ultimate goal is to find the time response . Solving by han...
3년 이상 전 | 답변 수: 1 | 0
How to code second order differential equation with input variable t?
Looks like we have a 2nd-order differential equation of function . To clean the problem up, let's define some constants: , , , ...
3년 이상 전 | 0
find values from array
Here's a "quick and dirty" approach. TT = [ 1 0 1 0 5 59 59 299 59 5 952 69 6 5 8 289 2 8 52 5 1 7 7 5 2 8 2 1 1 2 6 9 7 5 2 10...
3년 이상 전 | 0
How to work with transfer functions that are challenging to reduce to standard form?
I am trying to model a DC motor driving a load in Simulink by implementing a transfer function block. I model the system as fol...
3년 이상 전 | 답변 수: 1 | 1