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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 2

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 1

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

Gelöst


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

fast 14 Jahre vor

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

| akzeptiert

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 1

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 1

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

fast 14 Jahre vor | 1

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

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

fast 14 Jahre vor | 0

| akzeptiert

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

fast 14 Jahre vor | 0

Mehr laden