Beantwortet
Filtering Data
Here's a filter function example for ya... Doc reference: <http://www.mathworks.com/help/techdoc/ref/filter.html> Examp...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
Parameter estimation with more data sets
Are you referring to parameter estimation tasks with Simulink models? If so, I believe it is. You just add each data set und...

etwa 13 Jahre vor | 0

Beantwortet
how to change, by using commands, the space between plots when using a subplot?
I can think of two ways 1. Manually move the axes position >> ah = subplot(2,2,1) >> currentPos = get(ah,'Position');...

etwa 13 Jahre vor | 0

Beantwortet
Can't pass parameters from a mask to a subsystem
Are you masking a Model block, or a subsystem? It sounds like you added a mask to a subsystem in your top description. However...

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
Query regarding induction motor equation
Hmm... I can think of two options 1. Use a Divide block, with the "Multiplication" setting to "Matrix". Then, pass the 4-by-...

etwa 13 Jahre vor | 0

Beantwortet
S-Function && MS Visual Studio C/C++: Segmenation Violation -> how to find error?
I've never heard of anything like this. However, before I knew about debugging S-functions properly, I used to use printf state...

etwa 13 Jahre vor | 0

Beantwortet
Output Length of signal filtered using FIR Filters
I believe generally convolution is used, though I am no signal processing expert so I can't speak to all filter variations. T...

etwa 13 Jahre vor | 1

Beantwortet
Coupled Differential Equation
I would recommend giving these a try: <http://www.mathworks.com/help/techdoc/ref/ode23.html> I've never used them with the...

etwa 13 Jahre vor | 0

Beantwortet
matlab code wavefront generation
You mean like this? >> x = 0:0.01:2*pi; >> y = -1:0.01:1; >> [X,Y] = meshgrid(x,y); >> wavefront = sin(X); >> s...

etwa 13 Jahre vor | 1

| akzeptiert

Beantwortet
Gaze Interest Heat Map
It sounds like you are looking for a 2-dimensional histogram. There is none in default MATLAB, as far as I know. However, seve...

etwa 13 Jahre vor | 0

| akzeptiert

Beantwortet
How to change variables in time in Simulink?
It sounds to me like you want the mass data to be a signal, and not a parameter that is defined by a workspace variable. I ...

etwa 13 Jahre vor | 2

| akzeptiert

Beantwortet
Help about Building GUI
There are a lot of GUI examples in the file exchange. Here's one from Mr. Matt Fig himself: <http://www.mathworks.com/matlab...

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 2

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 3

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

etwa 13 Jahre vor | 0

| akzeptiert

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

etwa 13 Jahre vor | 0

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

etwa 13 Jahre vor | 0

Beantwortet
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', @...

etwa 13 Jahre vor | 1

| akzeptiert

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

etwa 13 Jahre vor | 0

Mehr laden