Beantwortet
Need help solving second order differential equations using ODE45
The initial conditions imply that t=0, so you simply need to pass in the two initial conditions for x and dx/dt. So for your exa...

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
Pop up menu
Value = 2; set(handles.popupmenu, 'Value', Value); |'Value'| refers to the "Value" property of the pop up menu. The seco...

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
Warning "Unable to interpret LaTeX string ..."
In case you didn't know, you could suppress certain warnings, like this: warnState = warning('off', 'MATLAB:gui:latexsup:Ba...

mehr als 12 Jahre vor | 0

Beantwortet
Using gcf in functions
<http://www.mathworks.com/help/matlab/ref/gcf.html |gcf|> is not a variable, but rather a function. So you don't need to treat i...

fast 13 Jahre vor | 3

Beantwortet
How to find all XY Graphs in Simulink model
As you can see from the FRP for <http://www.mathworks.com/help/toolbox/simulink/slref/find_system.html |find_system|>, you can s...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
Fastest way to dot product all columns of two matricies of same size
When you say you're doing the dot product, I assume you're doing this: v1'*v2 and not dot(v1, v2) The equivalent...

fast 13 Jahre vor | 0

Beantwortet
File modification alert from windows api
You may be able to use the .NET interface, using the <http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx F...

fast 13 Jahre vor | 2

| akzeptiert

Beantwortet
How do I activate Simulink with R2011a Student Version?
Where are you looking for the icon? There will be no separate Simulink icon in your OS desktop. You start Simulink by starting M...

fast 13 Jahre vor | 0

Beantwortet
creating a single structure with 100 entries
You don't need to create a structure for that. You can do this: C2 = cat(3, C{:}); avg = mean(C2, 3) FYI, to answer y...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
How do I delete a field variable from a structure
|handles.Data| is a field of variable |handles|. To delete a field, handles = rmfield(handles. 'Data'); To set the field...

fast 13 Jahre vor | 4

| akzeptiert

Beantwortet
problem acquiring the video from webcam
Put a breakpoint on line 4 of your function |getCameraInfo|, and explore your variable |camera_info|. Maybe your laptop isn't re...

fast 13 Jahre vor | 0

Beantwortet
"if "function
You can use the <http://www.mathworks.com/help/matlab/ref/isstrprop.html |isstrprop|> function. If |answer| is the input you got...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
Refining the step size in colorbar
The colorbar step size is determined by the colormap of the figure. For example: colormap(jet(16)) colorbar

fast 13 Jahre vor | 0

Beantwortet
Separating the channels of a .wav sound file
If the .wav file is a stereo audio file, then <http://www.mathworks.com/help/techdoc/ref/wavread.html |wavread|> can read them i...

fast 13 Jahre vor | 1

| akzeptiert

Beantwortet
Memory
That's the theoretical limit that MATLAB can access on your 64-bit system, which is independent of how much RAM and Swap you hav...

fast 13 Jahre vor | 1

Beantwortet
Last non nan observation
I'm not sure if you're looking for the indices (row number) or the actual value of the last non nan observation. So here are bot...

fast 13 Jahre vor | 4

| akzeptiert

Beantwortet
Why use x=load('myFile.mat')?
You may actually get an incorrect answer in certain situations. For example, create a MAT file, myFile.mat, that has a variab...

fast 13 Jahre vor | 5

| akzeptiert

Beantwortet
Coloring scatterplots based on frequency of point occurrence in input
*EDIT: |unique| instead of |sort|* You should be able to do it with: |unique| (use the 'rows' parameter) |hist| (use th...

fast 13 Jahre vor | 4

| akzeptiert

Beantwortet
Plot using scatter3 function.
Is this what you're looking for? x = rand(1,24); y = rand(1,24); z = rand(1,24); sz = 40; colors = jet(24); ...

fast 13 Jahre vor | 1

Beantwortet
What does a Distributed Computing Server license of 16 workers mean?
A "worker" is a MATLAB process that runs. Typically, you can think of each worker running on a physical core. If a node has mult...

mehr als 13 Jahre vor | 2

Beantwortet
Force plate zero offset
Typically, you would do a reference measurement (with no load on the force plate). Take that measurement and compute the average...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
subdivide the axis into a grid without using subplot
Why don't you simply keep creating the patch object in a loop, without creating multiple axes. As long as the coordinates of the...

mehr als 13 Jahre vor | 0

Beantwortet
Use of "Break" in switch statement
What do you mean by "if the switch statement is fulfilled"? Are you trying to get out of the whole switch-case block while you a...

mehr als 13 Jahre vor | 0

Beantwortet
in wat order multiple images will be read and store in workspce?
That depends on how you read it in. You can't read all 10 images with a single <http://www.mathworks.com/help/matlab/ref/imread....

mehr als 13 Jahre vor | 0

Beantwortet
Evaluate symbolic matrix numerically.
Use <http://www.mathworks.com/help/toolbox/symbolic/subs.html |subs|>: subs(matrix, {A, B}, {0.5, 1})

mehr als 13 Jahre vor | 4

Beantwortet
parfor with very different computation times
Normally, <http://www.mathworks.com/access/helpdesk/help/toolbox/distcomp/parfor.html |parfor|> does load balancing. |parfor| br...

mehr als 13 Jahre vor | 3

Beantwortet
Problem with matlab not finding compilers using "mex -setup"
Could it be because Microsoft Visual 2010 Express was not officially supported in R2008b version of MATLAB? Here's the supported...

mehr als 13 Jahre vor | 0

Beantwortet
Simple, compiled "Hello, World" function takes 3 seconds to execute? Why so slow?
Kaustubha's explanation about MATLAB Compiler Runtime (MCR) is correct. The runtime is essentially MATLAB (without the desktop a...

mehr als 13 Jahre vor | 1

Beantwortet
Plot Legend
If you look at the documentation for <http://www.mathworks.com/help/matlab/ref/legend.html |legend|>, there's a syntax where you...

mehr als 13 Jahre vor | 2

| akzeptiert

Beantwortet
Handling large AVI videos
You say you need to analyze the video "frame-by-frame". That seems to indicate that you don't need to store all of the frames in...

mehr als 13 Jahre vor | 1

Mehr laden