Respondida
Distributed and parallel computing
<http://www.mathworks.com/products/distriben/>

más de 12 años hace | 1

| aceptada

Respondida
How do I load a .wrl file on to a GUI?
set(gcf,'Units','pixels'); vrObjects.world = vrworld('spring.wrl'); open(vrObjects.world); vrObjects.canvas = vr.canvas(vrO...

más de 12 años hace | 1

| aceptada

Respondida
Motion Vecotor using Quiver
<http://www.mathworks.com/matlabcentral/fileexchange/17582-ncquiverref FEX:ncquiverref>

más de 12 años hace | 0

Respondida
Figure Window Won't Tile When Docked
This can be done in the "View" tab: <</matlabcentral/answers/uploaded_files/11212/Capture.PNG>>

más de 12 años hace | 0

Respondida
3D plane with more than 3 points
Perhaps |ndgrid| or |meshgrid| will help get you started: [xx,yy,zz] = meshgrid(1:3,4:6,7:9); % grid of x,y,z V = sin(xx)+...

más de 12 años hace | 0

Respondida
Parallel execution of function with global time limit possible?
If you're running MATLAB Distributed Computing Server with the MATLAB Job Scheduler, you can set a timeout for jobs and tasks: ...

más de 12 años hace | 1

| aceptada

Respondida
how can I make an oval mask?
doc imellipse Look at its _createMask_ method.

más de 12 años hace | 0

| aceptada

Respondida
How can I stack STEM plots in a single Matlab plot
x = (1:10)'; y = rand(10,3); ys = cumsum(y,2); stem(x,fliplr(ys))

más de 12 años hace | 0

| aceptada

Respondida
How is exp defined in this program?
doc exp

más de 12 años hace | 0

Respondida
How do I find the index of a known number? (reverse indexing?)
idx = find(M==xxxx)

más de 12 años hace | 1

| aceptada

Respondida
Using a loop to clear multiple empty arrays at once
<http://www.mathworks.com/matlabcentral/answers/57445 How to avoid a1, a2, ... an>

más de 12 años hace | 0

Respondida
interacting with websites from Matlab
Use the _'post'_ or _'get'_ method inside or <http://www.mathworks.com/help/releases/R2014a/matlab/ref/urlread.html |urlread|>

más de 12 años hace | 1

Respondida
Detect parts of a 0/1 (binary) vector consisting of only 0 or 1
idx = find(diff([~a(1) a]))'; pcs = spdiags(rot90([idx-1 idx])); pcs(end) = numel(a)

más de 12 años hace | 1

| aceptada

Respondida
error is in imreshape
I've never heard of it and it's not something MathWorks ships. Perhaps you're looking for regular reshape? doc reshape

más de 12 años hace | 0

| aceptada

Respondida
Is it possible to plot images without them disturbing other work
Specify the axes to plot to using the |imshow(I,'parent',ax)| syntax: hAx = axes; T = timer('Period',5,... 'Ex...

más de 12 años hace | 0

Respondida
Error in Matlab Genetic Algorithm optimization
dbstop if error And look around

más de 12 años hace | 1

| aceptada

Respondida
Caught "std::exception" Exception message is: Message Catalog MATLAB:builtins was not loaded from the file.
What is the output from: fopen all If it is a vector, you could be running out of file handles. Remember to |fclose()| ...

más de 12 años hace | 9

Respondida
How to calculate the integral of the complicated functions of function handles in a cell?
Here's a method that scales: f{1} = @(x) x; f{2} = @(x) x.^2; f{3} = @(x) exp(x)-log(x); I = sum(cellfun(@(fun)integral(...

más de 12 años hace | 0

Respondida
How to make up the diagonal summation without for loop and with the fastest way!
And just for fun (requires Image Processing): B = zeros(size(A)); B(1) = 1; B2 = bwdist(B,'cityblock')+1; v = accumarray...

más de 12 años hace | 0

Respondida
Can somebody explain to me this code?
take a look at t (remove the semicolon or look at it in the workspace): t=0:pi/120:2*pi And to visually look at it: ...

más de 12 años hace | 0

Respondida
Adding array create via colon operator.
It's grouping it like this: (x+1):2 Best practice is to always use parenthesis! So for your example x + (1:4) T...

más de 12 años hace | 0

| aceptada

Respondida
What is the last version of Matlab for Snow Leopard OS X 10.6.8 ?
<http://www.mathworks.com/support/sysreq/previous_releases.html> It looks like 12b was the last to support it.

más de 12 años hace | 1

| aceptada

Respondida
Which threshold method will work for my image?
I'd just use R2014a's color thresholder app. You can pick your colorspace, make your selections until you like the result and t...

más de 12 años hace | 4

| aceptada

Respondida
How to shrink a binary image of an irregular object?
A few ways: doc imerode Or if you need to maintain objects: doc bwmorph Look at the _skel_ and _thin_ options.

más de 12 años hace | 0

| aceptada

Respondida
how to plot a graph of the equation (x^5)+(x^4)+(x^3)+(9*x^2)+8*x+3
>> ezplot(' (x^5)+(x^4)+(x^3)+(9*x^2)+8*x+3')

más de 12 años hace | 0

Respondida
Determine if a polygon is complex.
If you have the Mapping Toolbox, you can use <http://www.mathworks.com/help/releases/R2014a/map/ref/polyxpoly.html |polyxpoly|> ...

más de 12 años hace | 0

| aceptada

Respondida
Finding the area of a polygon.
>> edit polyarea Look at the code, it implements the surveyor's formula that you have.

más de 12 años hace | 1

| aceptada

Respondida
Current App Installation Folder
One way: files = matlab.apputil.getInstalledAppInfo; [path,~,~] = fileparts(files(1).location)

más de 12 años hace | 3

| aceptada

Respondida
save a 3D .mat file as a single dicom file
I usually use this utility when I have to do that: <http://www.mathworks.com/matlabcentral/fileexchange/29344-read-medical-da...

más de 12 años hace | 0

Respondida
Different colors on tickmarks and axes labels?
First, convert the tick labels to text, using one of these utilities: <http://www.mathworks.com/matlabcentral/fileexchange/in...

más de 12 años hace | 0

Cargar más