Looky
Followers: 0 Following: 0
統計
All
Feeds
回答済み
code to find the first whole number divisible by 1 to n
the mod function accepts a vector for the second argument, you can use this to check for a sequence of factors, e.g.: if(any(mo...
code to find the first whole number divisible by 1 to n
the mod function accepts a vector for the second argument, you can use this to check for a sequence of factors, e.g.: if(any(mo...
約4年 前 | 0
| 採用済み
回答済み
Rotate a 3D data cloud to align with one axis
I'm not sure if any built in functions exist for this purpose. However, one mathematical way would be the following: Determin...
Rotate a 3D data cloud to align with one axis
I'm not sure if any built in functions exist for this purpose. However, one mathematical way would be the following: Determin...
5年弱 前 | 2
| 採用済み
回答済み
Generate a sector mask within a big matrix
Solution could look like this: % Generate example coordinates x=linspace(-1,1,100); y=fliplr(linspace(-1,1,100)); [X,Y]=me...
Generate a sector mask within a big matrix
Solution could look like this: % Generate example coordinates x=linspace(-1,1,100); y=fliplr(linspace(-1,1,100)); [X,Y]=me...
5年弱 前 | 0
| 採用済み
回答済み
How to change this for loop into parfor loop?
There are two issues in your code that prevent the parfor loop from working. # The matrix data is indexed in a way that matla...
How to change this for loop into parfor loop?
There are two issues in your code that prevent the parfor loop from working. # The matrix data is indexed in a way that matla...
7年弱 前 | 1
| 採用済み
回答済み
How to extract numeric data from the text comments using importdata?
There are many ways to accomplish that. You can use string manipulation methods to deal with the possible formats you would ex...
How to extract numeric data from the text comments using importdata?
There are many ways to accomplish that. You can use string manipulation methods to deal with the possible formats you would ex...
約7年 前 | 0
回答済み
why after I use the imwrite function, the pixels in the image are changed diferrent? before I convert from double matrix to uint8 matrix ?
This is likely a result from the compression/decompression process involved when saving to a jpg file. Choose a better suited fi...
why after I use the imwrite function, the pixels in the image are changed diferrent? before I convert from double matrix to uint8 matrix ?
This is likely a result from the compression/decompression process involved when saving to a jpg file. Choose a better suited fi...
約7年 前 | 0
回答済み
Displaying an axis scale in mm rather than pixels
It's a bit tricky without any example data, but this should do the trick. conversion=0.1; % in mm/pixel addMM=@(x) s...
Displaying an axis scale in mm rather than pixels
It's a bit tricky without any example data, but this should do the trick. conversion=0.1; % in mm/pixel addMM=@(x) s...
約7年 前 | 2
| 採用済み