回答済み
Plotting results of three different data sets on same Plot
Depending on the format of the data sets, there are a variety of functions available to import the data. Look at the following ...

約14年 前 | 1

回答済み
Matlab Source Code
Well the standard question that is always asked in this circumstance is: what have you done so far? What _specific_ MATLAB probl...

約14年 前 | 0

回答済み
How to create a solid spherical cluster with random distribution of points
centroid = [0 0 0]; Rad = 2; %desired radius n = 100; %or however many points you want phi = 2*pi*rand(n,1); %ph...

約14年 前 | 1

回答済み
Sorting NaN
You could do something like this: a=[1 2 3;4 5 6;7 8 9;NaN NaN NaN]; a= sort(a,1,'descend'); in = any( isnan(a),2); ...

約14年 前 | 1

回答済み
Data Upload
Depending on the format of the file, this can vary substantially between trivial and impossible. Do you have any information abo...

約14年 前 | 0

回答済み
Efficiently setting lower axis limit
You could do it in two lines: xlim_curr = get(gca,'xlim'); set(gca, 'xlim', [0 xlim_curr(2)]); I've tried to do exact...

約14年 前 | 1

回答済み
Optimizing a 'for' loop
You algorithm isn't quite clear. What is the dimension of mean(M)? Why do you subtract M(i) from it each time? Can you clarify ...

約14年 前 | 0

回答済み
how to limit arrow length in 3D quiver plot?
For your situation, I would specify the length of the arrows directly, rather than letting Matlab perform the Auto-scaling of th...

約14年 前 | 1

回答済み
Bounding Box
An image is specified (like any other matrix) as MxNxP, where M is the number of rows, N is the number of columns, and P=1 or 3 ...

約14年 前 | 0

| 採用済み

回答済み
extracting rgb from each block of an image in matlab
What was the original size of the matrix? From your output, it looks like the matrix had a third dimension of 1. For an image to...

約14年 前 | 0

回答済み
car license plate extraction
Given that you have given us NO details about your problem, I will assume the simplest situation possible: each license plate im...

約14年 前 | 0

| 採用済み

回答済み
Virtual Mouse Project
Controlling the mouse pointer is actually a bit difficult, as you need to use the Java Robot class (it's not a Matlab function _...

約14年 前 | 1

回答済み
Using Euler-Cromer to find the motion of a simple pendulum?
Can you use the ODE solvers built-in to Matlab (something like 'ode45')? If so, that would be the easiest way, and would avoid l...

約14年 前 | 0

回答済み
Passing extra parameters back through an optimisation function
One way is to wrap the call to fmincon in an outer function, and have the really_time_consuming_function's as a sub-function of ...

約14年 前 | 0

| 採用済み

回答済み
GUI help
Are you saying that your GUI requires a double input and not a char input? If so, you can just convert the string to a double, l...

約14年 前 | 0

回答済み
plotting
Put m in a loop as well. clear,clc l=.01; for m=0:.01:4; figure; %create a new figure each time for x=0:....

約14年 前 | 0

回答済み
I need to apply AAM on a face image.
I don't know anything about AAM, but I found this on the File Exchange. Maybe it can help: <http://www.mathworks.com/matlab...

約14年 前 | 0

回答済み
code
Looking at your data, and reading over your other posts about this, perhaps the problem is that the spacing between points is to...

約14年 前 | 0

回答済み
Write a program in a script file that determines the real roots of a quadratic equation
Well let's break down the question step by step, with the specified section of the documentation for each. # Get input a, b...

約14年 前 | 0

回答済み
How to use "str2num" to read the first column of a comma separated data?
str2num isn't really intended for this purpose. Why not use textscan, dlmread, or similar? doc textscan doc dlmread

約14年 前 | 0

回答済み
Cell Mode
The cells should not disappear. Are the cell division lines (double % signs) still present in the re-opened M-file?

約14年 前 | 0

| 採用済み

回答済み
Index of reordered vector
A = [1 2 3 4 5 6] AR = [2 4 1 6 5 3] [junk, P] = ismember(A, AR)

約14年 前 | 0

| 採用済み

回答済み
how to build an interface between matlab and another software
I don't know anything about CalculiX, but from a quick Google search it seems that CalculiX can be run from the Windows command ...

約14年 前 | 1

回答済み
from string array to variable names
You can use genvarname to generate variable names. doc genvarname However, you probably don't want to actually do this. ...

約14年 前 | 0

回答済み
Write a function, using arrays-vectors,' input'& 'fprintf','if' statement', 'end', 'fgetl' etc with good programming practices...like putting comments %
Well if your deadline is approaching, then I can understand why you must be so frustrated! I feel some pity for you--not too man...

約14年 前 | 1

回答済み
adding same variables to single .mat file
y = NaN(30, 3800000); %pre-allocation for k=1:30, S = load( sprintf('data_%d.mat', k)); y(k,:) = S.x; end ...

約14年 前 | 1

| 採用済み

回答済み
Write a function, using arrays-vectors,' input'& 'fprintf','if' statement', 'end', 'fgetl' etc with good programming practices...like putting comments %
There is no question here, so I will ask one myself: Are the '2 marks' awarded for successful completion of this task transferab...

約14年 前 | 0

回答済み
real time point tracking and confining it within a predefined boundary
This forum won't just send you MATLAB code without you showing us what you've done so far (as this sounds a bit like homework). ...

約14年 前 | 0

回答済み
calculate the area
Do you want just the total number of pixels of white? If so, just sum the image (sum all 1's). If you want the area of conti...

約14年 前 | 0

さらに読み込む