Sarah Wait Zaranek
MathWorks
2011 年からアクティブ
Followers: 0 Following: 0
Professional Interests: parallel computing, geophysics
統計
All
Feeds
回答済み
Array manipulation ... a better way?
You can do this with logical indexing (and not a for-loop) q = zeros(length(p(:,1)),1); Find where the first column is e...
Array manipulation ... a better way?
You can do this with logical indexing (and not a for-loop) q = zeros(length(p(:,1)),1); Find where the first column is e...
12年弱 前 | 0
| 採用済み
回答済み
load several (one after another ) .mat Files via a For-Loop Job
Unless I am missing something, I think the easiest thing would be to do a nested for loop. for ii = 1: Number load(['co...
load several (one after another ) .mat Files via a For-Loop Job
Unless I am missing something, I think the easiest thing would be to do a nested for loop. for ii = 1: Number load(['co...
12年弱 前 | 6
| 採用済み
回答済み
How to fit histogram data with normfit using signed X-axis ?
Probably the easiest way to handle this, if you like what the distribution fitting tool is doing, is to autogenerate code from ...
How to fit histogram data with normfit using signed X-axis ?
Probably the easiest way to handle this, if you like what the distribution fitting tool is doing, is to autogenerate code from ...
12年弱 前 | 0
| 採用済み
回答済み
Reproducing the "Evaluate" function from "basic fitting" GUI directly in code
You can use the polyfit function to fit your data programatically. You can then use polyval to evaluate the polynomial at a giv...
Reproducing the "Evaluate" function from "basic fitting" GUI directly in code
You can use the polyfit function to fit your data programatically. You can then use polyval to evaluate the polynomial at a giv...
12年弱 前 | 0
| 採用済み
回答済み
Question regarding the Spredsheet link EX tool
These sections in the documentation should walk you through the basics of using Spreadsheet Link EX. http://www.mathworks.com...
Question regarding the Spredsheet link EX tool
These sections in the documentation should walk you through the basics of using Spreadsheet Link EX. http://www.mathworks.com...
12年弱 前 | 0
回答済み
Error running parallel simulations
It looks like your mex file is still being used in MATLAB memory. You can try to see if clearing mex files will help, clea...
Error running parallel simulations
It looks like your mex file is still being used in MATLAB memory. You can try to see if clearing mex files will help, clea...
12年弱 前 | 0
回答済み
sharing matrix in parfor
There is no way to do shared memory automatically in a parfor loop. However, depending on where the data is located - there may...
sharing matrix in parfor
There is no way to do shared memory automatically in a parfor loop. However, depending on where the data is located - there may...
約12年 前 | 1
回答済み
Sscanf /sprintf usage
I think this is your issue -- From doc for sscan - "Format specifiers for the reading functions sscanf and fscanf differ f...
Sscanf /sprintf usage
I think this is your issue -- From doc for sscan - "Format specifiers for the reading functions sscanf and fscanf differ f...
12年以上 前 | 0
| 採用済み
回答済み
How to Save Matrices to excel multiple times with incremental excel name to avoid overwrite
The easier way to to construct a new filename within the loop by converting the index to a string and adding it the original nam...
How to Save Matrices to excel multiple times with incremental excel name to avoid overwrite
The easier way to to construct a new filename within the loop by converting the index to a string and adding it the original nam...
12年以上 前 | 2
| 採用済み
回答済み
converting .mat to .dat file
This should do it. Note: I made a sample mat-file with x,y,a as my variables. load test.mat dlmwrite('test.dat',[x y a]...
converting .mat to .dat file
This should do it. Note: I made a sample mat-file with x,y,a as my variables. load test.mat dlmwrite('test.dat',[x y a]...
12年以上 前 | 0
| 採用済み
回答済み
Randomly Choose number from a matrix of several numbers?
Instead of starting with your code - I will give an example of how I would do it. Hopefully this can see how you implement it i...
Randomly Choose number from a matrix of several numbers?
Instead of starting with your code - I will give an example of how I would do it. Hopefully this can see how you implement it i...
12年以上 前 | 0
回答済み
Controlling Dll files from Matlab
First step is to see if you can use loadlibrary interface in MATLAB. See this section of the documentation on how to call C ...
Controlling Dll files from Matlab
First step is to see if you can use loadlibrary interface in MATLAB. See this section of the documentation on how to call C ...
12年以上 前 | 0
回答済み
Loops are slow inside spmd blocks!!
Looks like loops inside parfor/spmd with tons of iterations are not getting all the benefit from JIT (Just-in-Time interpreter/c...
Loops are slow inside spmd blocks!!
Looks like loops inside parfor/spmd with tons of iterations are not getting all the benefit from JIT (Just-in-Time interpreter/c...
13年弱 前 | 0
回答済み
Writing a cell array to excel but skipping certain values
I think it is clear what you want to do- I don't have MATLAB open, so forgive minor syntax issues. 1. Step one extract the ...
Writing a cell array to excel but skipping certain values
I think it is clear what you want to do- I don't have MATLAB open, so forgive minor syntax issues. 1. Step one extract the ...
13年弱 前 | 1
回答済み
export to excel
This should work out for you. Reshape the array so it is an nx*ny by 4 and then use the xlswrite command. A = rand(18,30...
export to excel
This should work out for you. Reshape the array so it is an nx*ny by 4 and then use the xlswrite command. A = rand(18,30...
13年弱 前 | 0
| 採用済み
回答済み
CPU ID and EXE
You can run any command to the operating system via the bang (!) command, something like this (for a Windows machine) will give ...
CPU ID and EXE
You can run any command to the operating system via the bang (!) command, something like this (for a Windows machine) will give ...
13年弱 前 | 0
回答済み
How to autoload a custom function in cftools
I believe what you want to do is to highlight the data you don't want to fit using the "outlier" tool. <http://www.mathwork...
How to autoload a custom function in cftools
I believe what you want to do is to highlight the data you don't want to fit using the "outlier" tool. <http://www.mathwork...
13年弱 前 | 0
回答済み
How to autoload a custom function in cftools
A couple of options for you. 1. You can autogenerate the code to do the fit from cftool. Then you can repeat the analysis wit...
How to autoload a custom function in cftools
A couple of options for you. 1. You can autogenerate the code to do the fit from cftool. Then you can repeat the analysis wit...
13年弱 前 | 0
| 採用済み
回答済み
Changing a single element in sparse matrices
In general, it is useful to define the values and locations of the non-zero entries of your sparse matrices - and then only crea...
Changing a single element in sparse matrices
In general, it is useful to define the values and locations of the non-zero entries of your sparse matrices - and then only crea...
約13年 前 | 0
回答済み
Semilogy Plot not showing minor tick marks
The X Minor ticks are off by default. This should turn them back on. ax = gca; % grabs current axis set(ax,'XMinorTi...
Semilogy Plot not showing minor tick marks
The X Minor ticks are off by default. This should turn them back on. ax = gca; % grabs current axis set(ax,'XMinorTi...
約13年 前 | 0
回答済み
Running MATLAB from Excel - Matlab Builder Ex or Matlab Spredsheet link EX?
It basically breaks down to if you want the end user who is running the model within Excel to have MATLAB or not. Spreadshe...
Running MATLAB from Excel - Matlab Builder Ex or Matlab Spredsheet link EX?
It basically breaks down to if you want the end user who is running the model within Excel to have MATLAB or not. Spreadshe...
約13年 前 | 1
| 採用済み
回答済み
Parallel for loop: Using broadcasting array variable values as indexes
For parfor loops, when you index into a sliced variables, restrictions are placed on the first-level variable indices. This allo...
Parallel for loop: Using broadcasting array variable values as indexes
For parfor loops, when you index into a sliced variables, restrictions are placed on the first-level variable indices. This allo...
約13年 前 | 2
| 採用済み
回答済み
memmapfile in parfor loops
You should be able to use memmapfile in a parfor loop. The trick is to pass m into a function within the parfor loop. You can g...
memmapfile in parfor loops
You should be able to use memmapfile in a parfor loop. The trick is to pass m into a function within the parfor loop. You can g...
約13年 前 | 3
回答済み
plot integral
This can be done using cumtrapz -- Doc here: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/cumtrapz.html> ...
plot integral
This can be done using cumtrapz -- Doc here: <http://www.mathworks.com/help/releases/R2011a/techdoc/ref/cumtrapz.html> ...
13年以上 前 | 4
回答済み
How to brush data automatically?
Only certain plots can be brushed. The doc has list here of what you can and can't brush: <http://www.mathworks.com/help/release...
How to brush data automatically?
Only certain plots can be brushed. The doc has list here of what you can and can't brush: <http://www.mathworks.com/help/release...
13年以上 前 | 1
回答済み
how to open 3D image from a series of 2D image?
This demo using MRI data should help you get started: <http://www.mathworks.com/help/releases/R2011a/techdoc/visualize/f5-329...
how to open 3D image from a series of 2D image?
This demo using MRI data should help you get started: <http://www.mathworks.com/help/releases/R2011a/techdoc/visualize/f5-329...
13年以上 前 | 2
回答済み
parallel computing with scheduler Comsol-Matlab
COMSOL helped me with a similar issue about a year ago. Their answer is below. I would encourage you to contact them. They were...
parallel computing with scheduler Comsol-Matlab
COMSOL helped me with a similar issue about a year ago. Their answer is below. I would encourage you to contact them. They were...
13年以上 前 | 2
回答済み
several slices of a 2D-image interpolate to 3D
This demo is probably a good first start for you. Displaying MRI Data: <http://www.mathworks.com/help/techdoc/visualize/...
several slices of a 2D-image interpolate to 3D
This demo is probably a good first start for you. Displaying MRI Data: <http://www.mathworks.com/help/techdoc/visualize/...
13年以上 前 | 0
回答済み
receiving a sparse matrix
If I understand you correctly, what you want to do is take your cell array (1 x 40) - and for each column of the cell array maps...
receiving a sparse matrix
If I understand you correctly, what you want to do is take your cell array (1 x 40) - and for each column of the cell array maps...
13年以上 前 | 0
| 採用済み
回答済み
bar3 color
I believe this will work for you. Basically I am resetting each set of bars colormap by changing the CData of the patches that ...
bar3 color
I believe this will work for you. Basically I am resetting each set of bars colormap by changing the CData of the patches that ...
13年以上 前 | 0