Community Profile # Looky

Last seen: 7달 전 2017 이후 활성

#### Statistics

All
• • • • • 배지보기

#### Content Feed

보기 기준

답변 있음
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...

12달 전 | 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...

1년 이상 전 | 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...

2년 이하 전 | 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...

4년 이하 전 | 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...

4년 이하 전 | 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...

4년 이하 전 | 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...

4년 이하 전 | 2

| 수락됨