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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
How is exp defined in this program?
doc exp

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

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

mehr als 12 Jahre vor | 1

| akzeptiert

Beantwortet
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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 9

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 4

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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')

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 3

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Mehr laden