Réponse apportée
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 ...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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: ...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 2

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 1

Réponse apportée
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. ...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 1

| A accepté

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 0

Réponse apportée
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...

presque 11 ans il y a | 2

Réponse apportée
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. * ...

presque 11 ans il y a | 0

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

A résolu


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

presque 11 ans il y a

Charger plus