답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 2

| 수락됨

답변 있음
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...

10년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 1

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 0

| 수락됨

답변 있음
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년 초과 전 | 1

| 수락됨

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 0

답변 있음
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년 초과 전 | 2

답변 있음
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년 초과 전 | 0

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

문제를 풀었습니다


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년 초과 전

더 보기