Respondida
How to get mu and sigma from data?
mu and sigma don't necessarily mean anything unless you describe what you actually want from your data. Based on the wiki artic...

más de 13 años hace | 0

| aceptada

Respondida
Why the "sum" function is giving a wrong result in Simulink ???
Try running this code instead: sum(u(1:3).*u(4).^u(5:7).*u(8).^u(9:11)) This should become obvious if you spend a minute...

más de 13 años hace | 0

| aceptada

Respondida
How can I produce more simulation points?
In the <http://www.mathworks.com/help/simulink/gui/data-import-export-pane.html#bq9_fhw-1 output options> of configuration param...

más de 13 años hace | 0

Respondida
viewing four signals in scope
The three triangle waves, ty, are all the same and are being plotted on top of eachother. If you want to see all 3 on that plot...

más de 13 años hace | 0

Respondida
Program a Variant Subsystem
Passing different number of input/output ports may not be supported, but you can workaround this issue by passing in the maximu...

más de 13 años hace | 0

Respondida
Any good book for Simulink: SimMechanics second generation?
If there is a book, it would show up in the <http://www.mathworks.com/support/books/ mathworks books> page. I would suggest cli...

más de 13 años hace | 2

Respondida
Is it possible to move the standard library simulink.mdl from it's installed location?
If you wanted to modify the base simulink.mdl file, I would suggest renaming it and sending it out as a different library. The ...

más de 13 años hace | 0

Respondida
fixed step solver simulation
Look at the <http://www.mathworks.com/help/simulink/slref/scope.html scope block's> history tab under the scope parameters. The...

más de 13 años hace | 0

| aceptada

Respondida
How can I assign a logical state to a led colour
Have you tried: if true set(led,'BackgroundColor',[1 0 0]) %set to red else set(led,'BackgroundColor',[0 1 ...

más de 13 años hace | 0

Respondida
How to optimize a multivariable non-linear function?
What is the variable a function of? Time? Best case, without doing some sort of <http://www.mathworks.com/products/control/ ...

más de 13 años hace | 0

| aceptada

Respondida
How to convert following dataset to matrix
It looks like you wrote a custom script to import this data. I would suggest using the <http://www.mathworks.com/help/matlab/im...

más de 13 años hace | 1

Respondida
an asynchronous write is already in progress ???? simulink
Are you sending and receiving data from the same IP address and Port? How are you running the model (just the play button?) ...

más de 13 años hace | 0

Respondida
Data acquistion with Simulink 2012b and Arduino UNO
Make sure you have the right pin selected in the input block. When you play the model, set it to run 'inf' so you can play arou...

más de 13 años hace | 1

Resuelto


Is my wife right?
Regardless of input, output the string 'yes'.

más de 13 años hace

Respondida
Stopping Criteria for Monte Carlo Simulations
The problem is the for loop should be inside the while loop. Right now nothing changes each iteration of the while loop. Bey...

más de 13 años hace | 0

Respondida
Problems obtaining the correct number of frames in video file
Have you tried something like this: xyloObj = VideoReader('xylophone.mpg'); xylDat = read(xyloObj); size(xylDat) F...

más de 13 años hace | 1

| aceptada

Respondida
Why is it not possible to display a signal from a xpc-model on the gui using the function getsignal(handles.tg, signalnr)?
Put a breakpoint at the GETSIGNAL line in the GUI and see what options are available when you do: get(handles.tg) I beli...

más de 13 años hace | 0

Respondida
Experiences with release 2012b
I primarily use MATLAB as a gateway to Simulink so I may not have the dedication to workflows heavy MATLAB only users may have. ...

más de 13 años hace | 0

Respondida
Nicer output from simulations
You may be interested in disp instead of sprintf (depending on application, see <http://www.mathworks.com/matlabcentral/answers/...

más de 13 años hace | 0

Respondida
Why does the same code run 50 times faster in 2008b than in 2012a?
In general you should expect some minor slowdown between versions for the same code on the same machine with a new version of MA...

más de 13 años hace | 0

| aceptada

Respondida
Dealing with multiple signal selection
See the first <http://blogs.mathworks.com/seth/2012/04/09/conditional-execution/ example> in the this blog post. Wrap the gener...

más de 13 años hace | 1

Respondida
NCO in simulink - 90 degree phase shift?
You can utilize a <http://www.mathworks.com/help/simulink/slref/sinewavefunction.html sine wave function> block. This block has...

más de 13 años hace | 0

Respondida
How do I lower the numerical accuracy of Simevents/Simulink simulation time or the time written from a clock block?
You want to specify the datatype that suits your use case. If you are using a decimal you could potentially choose fixed point ...

más de 13 años hace | 1

Respondida
Can I use Arduino and Simulink for fuzzy logic?
<http://www.mathworks.com/help/fuzzy/build-your-own-fuzzy-simulink-models.html This Fuzzy Logic Documentation> states that the b...

más de 13 años hace | 1

Respondida
Can referenced models use frame-based processing?
I tried this and had no issues, but I think the workflow is causing a hangup for you. Try this: 1) Create the 'model' as ...

más de 13 años hace | 0

Respondida
How to use the state space model block in simulink for modeling of Brushless dc motor ?
I see two options for this which shouldn't be to hard given the SS equations. 1) Break up the SS into a series of transfer fu...

más de 13 años hace | 0

Respondida
How to use an existing Matlab session from C++ ?
You could use something like the <http://www.mathworks.com/products/compiler/examples.html MATLAB Compiler> to generate an execu...

más de 13 años hace | 0

Respondida
How can I get symbolic transfer function from block diagram?
Unfortunately none of the control design software supports symbolic representations. If you were able to get this done, which I...

más de 13 años hace | 0

Respondida
Change pin mode for Arduino in Simulink
What's going on is each pin can only do 1 thing, as pin 7 can ONLY be used for output or ONLY be used for input. Looking at t...

más de 13 años hace | 0

| aceptada

Respondida
SimDriveline 1.5.4 Help
Best resource to start will almost always be the <http://www.mathworks.com/products/simdrive/ product page> for any product. ...

más de 13 años hace | 0

Cargar más