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

casi 13 años hace | 0

| aceptada

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 3

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 2

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 4

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 0

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

casi 13 años hace | 1

| aceptada

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

casi 13 años hace | 1

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

casi 13 años hace | 4

| aceptada

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

casi 13 años hace | 5

| aceptada

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

casi 13 años hace | 4

| aceptada

Respondida
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); ...

casi 13 años hace | 1

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

más de 13 años hace | 2

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

más de 13 años hace | 1

| aceptada

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 0

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

más de 13 años hace | 4

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

más de 13 años hace | 3

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

más de 13 años hace | 0

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

más de 13 años hace | 1

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

más de 13 años hace | 2

| aceptada

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

más de 13 años hace | 1

Cargar más