Beantwortet
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 ...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 0

Beantwortet
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: ...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 2

| akzeptiert

Beantwortet
Algebraic state in algebraic loop containing 'new_arcmodel/Subsystem/Divide3' computed at time 0 is Inf or NaN. There may be a singularity in the solution. If the model is correct, try reducing the step size (either by reducing the fixed step size or
Without having any information about your model (Screenshot or the file itself), that Divide3 block in the error message is part...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 1

Beantwortet
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. ...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 0

Beantwortet
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...

mehr als 10 Jahre vor | 2

Beantwortet
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. * ...

mehr als 10 Jahre vor | 0

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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 ...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Gelöst


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...

mehr als 10 Jahre vor

Mehr laden