Answered
How to connect two power grids in SimPowerSystem through DC_link?
As Adam said, it's really difficult to trace the source of the problem without having access to the model. This is fine, though ...

10 years ago | 0

Answered
Processor in the Loop Test
You could start by getting the support package here (assuming you're using one of the supported SHARC processors listed): htt...

10 years ago | 0

Answered
How can I use a function handle in Simulink "matlab function" block?
If you won't be generating code from your Simulink model (i.e., you just want a desktop simulation), you could do a few things: ...

10 years ago | 0

Answered
How to derive the state-space model in which the second derivative of the output of the system is needed?
If the above is the TF for Y, then the second derivative of Y is just Ys^2, so the TF would be: Ys^2/U = (a1s^3+a0s^2)/(b4s...

10 years ago | 2

| accepted

Answered
Force input in Prismatic or Cylindrical joint.
So you want to feed in a force profile you created in Signal Builder? All you need to do is convert that to a physical signa...

10 years ago | 0

| accepted

Answered
Simulink problem with counter and vector indexing.
<http://www.mathworks.com/help/simulink/ug/algebraic-loops.html Algebraic loops> in Simulink happen when you have blocks whose i...

10 years ago | 0

| accepted

Answered
How to define new methods on existing matlab classes?
Sure you can! You just have to create a method named "plus" in your class, as shown here: http://www.mathworks.com/help/matla...

10 years ago | 0

Answered
access nth element from an array in simulink
Have you tried the <http://www.mathworks.com/help/simulink/slref/selector.html Selector block> ? One of its configurations is...

10 years ago | 1

| accepted

Answered
I need a simulink modeling D.P.C (Direct Power Controol) of DFIG Rotor (active and reactive power)
I would start by looking at this example in SimPowerSystems: http://www.mathworks.com/help/physmod/sps/examples/wind-farm-dfi...

10 years ago | 1

Answered
How can I detect that 2 solids in my model are crossed?
The usual thing to do is to use the Transform Sensor to get the relative translation and rotation of the two centers of mass. ...

10 years ago | 0

| accepted

Answered
Has anybody seen this warning before? I can't troubleshoot it. Parameter precision loss occurred for 'X0'.......
This happens when you use a parameter value whose specified value/data type is more accurate than what the Simulink model is act...

10 years ago | 0

Answered
Simulating coupled machines - Induction motor and dc generator
There's a Simulink add-on tool called <http://www.mathworks.com/products/simpower/ SimPowerSystems> which is made to model three...

10 years ago | 0

| accepted

Answered
Can I change variables directly in the C-Code I generated with Simulink Coder?
Assuming you're using default settings, you should be able to find all your parameter values in the |modelName_data.c| file in t...

10 years ago | 0

| accepted

Answered
Stateflow matrix usage error.
A few things # That exact error message comes up with your chart's <http://www.mathworks.com/help/stateflow/ug/differences-be...

10 years ago | 0

| accepted

Answered
plot discrete time function x(n)=y(n-2). it shows error (Attempted to access y(-1); index must be a positive integer or logical.)
This error is expected. You are trying to access an index (n-2) even when n is 1 or 2... which MATLAB does not know how to inter...

10 years ago | 1

| accepted

Answered
Convert coordinates from LLLN to ECEF
All that functionality would be in the Aerospace Toolbox. For instance, there is a <http://www.mathworks.com/help/aerotbx/ug/lla...

10 years ago | 0

Answered
I have issue with mahal() function
See how when you typed in that "which -all" command you got this: >> which -all mahal /Applications/MATLAB_R2015a.app/t...

10 years ago | 0

Answered
Rotational joint friction issue
Friction is not quite the same as pure damping, and is usually a slightly more complicated function of velocity -- especially if...

10 years ago | 2

Answered
How can I save last values of a [3x1] array in real time simulink application?
You're trying to save data on the MATLAB side, and not standalone on the BeagleBone, correct? If so, you can try this out. * ...

10 years ago | 0

Solved


Compute the step response of a DC motor
Compute the step response of a DC motor shown below <<http://blogs.mathworks.com/images/seth/cody/dc-motor.png>> The param...

10 years ago

Solved


Model a simple pendulum
Model a simple pendulum of length 200cm with bob of mass 100g and plot the position in degrees. The pendulum starts at 30 degree...

10 years ago

Solved


Produce a Fibonacci sequence
Construct a diagram that generates the Fibonacci sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34.....up to 377 The Fibonacci sequ...

10 years ago

Solved


Make a low pass filter
Make a first order low pass filter that will filter out the high frequency oscillations for the given input signal. The cut-off ...

10 years ago

Solved


Model a falling body
An object is falling freely from a height of 22 meters under the force of gravity. <<http://blogs.mathworks.com/images/seth/c...

10 years ago

Solved


Model a mass spring system
Model an ideal mass-spring system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/images/se...

10 years ago

Solved


Counting pulses in a signal
Count the number of pulses that are the result of summing each pulse generator block. Pulse Generator blocks produce a recurr...

10 years ago

Solved


Add damping to a mass spring system
Model an ideal mass-spring-damper system shown below where the spring is initially stretched. <<http://blogs.mathworks.com/im...

10 years ago

Solved


Make a full wave rectifier
Produce a full wave rectifier waveform for the given sine wave source. For a sine wave input, the output of the full wave rec...

10 years ago

Solved


Add offset to a signal
Produce the following signal: <<http://blogs.mathworks.com/images/seth/cody/add-offset-eqn.png>> You should see a downward...

10 years ago

Load more