Réponse apportée
Report Generator - Writing subscripts within text
Not sure if this meets your needs, but it seems like you could write HTML formatted text in a separate file and then include it ...

plus de 14 ans il y a | 0

Réponse apportée
EPS file: Squares get saved as 2 triangles
Total shot in the dark - does the renderer used make a difference? You can select File -> Export Setup from the figure menu a...

plus de 14 ans il y a | 0

Réponse apportée
Two X axis for a same Y axis
Have you seen this: <http://www.mathworks.com/help/releases/R2011a/techdoc/creating_plots/f1-11215.html> The trick is crea...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
S-function Runtime-evaluation of parameters
My understanding is that for efficiency reasons Simulink tries to avoid checking whether base workspace variables have changed d...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Licence plate detection.(Removing the shear angle of plate)
Hi Mayur, Have you had a look at imtransform? <http://www.mathworks.com/help/toolbox/images/f12-26140.html#f12-31782> I...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
create vectorfield for an ODE
Are you looking to have "a" change within a single call to ODE45, or would you like it to change on each subsequent call? If ...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
MATLAB Serial Port Communication Error
Just a hunch (I haven't worked with this stuff in quite some time), but what is the Terminator property of the serial port objec...

plus de 14 ans il y a | 0

Réponse apportée
From string to a variable
I would use eval names = {'dog','bike','donut'} for i = 1:length(names) eval([names{i} ' = rand;']) end

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
Saving Simmechanics Picture to jpeg
The easiest way I could think to do this is to just take a screenshot of it. If you are on windows, you can 1. Select windo...

plus de 14 ans il y a | 0

Réponse apportée
Optimize a code
A couple comments 1. I would use the Profiler to see where your code is going slow: <http://www.mathworks.com/help/techdoc/r...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
solve a second order Differential equation with a forcing function containing multiple harmonics
I believe you can do this with any of the ode solvers. <http://www.mathworks.com/help/techdoc/ref/ode23s.html> One thing t...

plus de 14 ans il y a | 2

| A accepté

Réponse apportée
Callback Problem
It is strange for me to see code such as handles.edit1 = val; in your callback, considering that val is a number you det...

plus de 14 ans il y a | 0

Réponse apportée
Renaming folders
I had a problem just like this once and I found recursion to be very helpful (though you have to of course be careful to avoid i...

plus de 14 ans il y a | 3

Réponse apportée
How to plot trajectories of a bird in a video sequence ?
I don't know exactly, however here are some broad steps: 1. Read video file into MATLAB: <http://www.mathworks.com/access/he...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
fit a 3d curve
Could you cast it as a linear regression problem and then solve the equations using backslash? Some details: Say we are tryi...

plus de 14 ans il y a | 0

Réponse apportée
How to adapt the number format for text in a graph
You could try this if you want to take the comma route: <http://www.mathworks.com/support/solutions/en/data/1-8IROOL/index.ht...

plus de 14 ans il y a | 0

Réponse apportée
synchronizing simulink with m-file
You can add a listener callback that runs when the block creates outputs: h = add_exec_event_listener(gcb, 'PostOutputs', @...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Sum of square error
Are you trying to determine coefficients of a dynamic model, something with derivatives in it such as dx/dt = A*x + B*u y = ...

plus de 14 ans il y a | 0

Réponse apportée
get plotyy second axis handle
This also would work: secondAxes = findobj('Type','axes','Color','none')

plus de 14 ans il y a | 1

Réponse apportée
modal decomposition using canon
According to the doc, <http://www.mathworks.com/help/releases/R2011a/toolbox/control/ref/canon.html> the canon function us...

plus de 14 ans il y a | 0

Réponse apportée
How do structures work?
I think MATLAB doesn't let you nest subscripts like that. However, there are workarounds. Is this what you are looking for: ...

plus de 14 ans il y a | 1

Réponse apportée
How to show full numbers as labels in the Y-axis of a plot
If you decide to go the "write your own function" route, have a look at this technical solution: <http://www.mathworks.com/su...

plus de 14 ans il y a | 3

| A accepté

Réponse apportée
Control
Would the "Saturation Dynamic" block located in the Simulink -> Discontinuities library do the trick?

plus de 14 ans il y a | 1

Réponse apportée
Find HR from ECG.
If you are using findpeaks, you should be able to get the indices as well. >> x = 0:0.01:4*pi; >> y = sin(x); >> [yMa...

plus de 14 ans il y a | 1

| A accepté

Réponse apportée
Passing information between level-2 matlab s-functions
Some background info that you may find useful... - Simulink goes through an "initialization" phase prior to starting its simu...

plus de 14 ans il y a | 0

| A accepté

Réponse apportée
save workspace to .m file feature
I know that the Simulink.saveVars function can do this: >> Simulink.saveVars('testVars.m') That's been around for a litt...

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Writing a Simulink.Signal directly from a S-Function
Are you asking whether you can write values to a data store memory element from within an S-function? If so, I personally do no...

presque 15 ans il y a | 1

Réponse apportée
Generate 3D shapes
Looks like you are on the right track and you just need to get the correct equation for the height of the pyramid. One thing ...

presque 15 ans il y a | 4

Réponse apportée
COM (Component Object Model) as S-Function Block in Simulink
I've never tried exactly what you are describing. However, the "Level-2 MATLAB S-function" block may allow you to do this. I w...

presque 15 ans il y a | 1

| A accepté

Réponse apportée
Numerical solution of integral equation with parametric variable
OK, I'm gonna assume you want to do it numerically. Check out this (warning, it gets a little crazy with the function handles):...

presque 15 ans il y a | 3

| A accepté

Charger plus