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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 2

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 1

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 2

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

más de 10 años hace | 0

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Resuelto


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

más de 10 años hace

Cargar más