**Statistics**

**MATLAB Answers**

**30** Questions

**0** Answers

RANK**34,674**

of 294,507

REPUTATION**1**

CONTRIBUTIONS

**30** Questions

**0** Answers

ANSWER ACCEPTANCE **
43.33%
**

VOTES RECEIVED**1**

RANK

of 20,119

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 151,819

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Question

How to rotate a 3D object?

I have a 3D object which is reconstructed from stacks of images. 3D object size : 512 x 512 x 50 roughly. how to rotate th...

10 years ago | 2 answers | 0

### 2

answersQuestion

How to rotate an image by applying rotational matrix

I guess rotating 3D image is same as rotating 2D image,right? for example, I have a 240x 240 2D image R = [0 -1;-1 0]; %...

10 years ago | 1 answer | 0

### 1

answerQuestion

Problem about Output in a txt file?How to solve it

x = 0:.1:1; A = [x; exp(x)]; fileID = fopen('exp.txt','w'); fprintf(fileID,'%6s %12s\n','x','exp(x)'); fprintf(fil...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to solve a set of equations?

[ cos(phi)*cos(theta), -sin(theta), -cos(theta)*sin(phi)]= 1 [ cos(phi)*sin(theta), cos(theta), -sin(phi)*sin(theta)]=0 ...

10 years ago | 0 answers | 0

### 0

answersQuestion

How to do the iterative work?

for example, matrix(1,1,1)=0; next matrix(1,2,1)=1 ... matrix(1,100,1)=215; Next matrix(2,1,1)= 124; until matrix(10...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to find max in a matrix (1,N,2)&& matrix (1,N,3)?

matrix (1,1:10,2)= 1 2 3 4 5 6 7 8 9 10 matrix (1,1:10,3)= 2 5 9 2 5 6 2 5 7 5 Is that a way can find out matrix (1,9,:)...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to compress the image ?

for example, I have a 3D image in grayscale, 512X512X300. I just want to compress it in X and Y plane. I want 4 pixels to ...

10 years ago | 2 answers | 0

### 2

answersQuestion

sin cos problem. How to solve it

why sind(45)=-0.707 it should be 0.707 and sind(18)=-0.9511 it should be 0.309 what's wrong with it

10 years ago | 1 answer | 0

### 1

answerQuestion

How to put vectors inside a matrix

For example, I have 100 vectors. I want to put all 100 vectors inside a 10X10 matrix.

10 years ago | 2 answers | 0

### 2

answersQuestion

How to smooth the rough edge on 2D image?

I tried erode followed by a dilate. The effect is not good as I want it to be. I want the edge without any curve. It bette...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to Check dimension mismatch of an element?

My question is a not very clear. EG let s say, q , 1X2 array. q(1)=1 q(2)=2 q(3) does not exist What I want is that I n...

10 years ago | 1 answer | 0

### 1

answerQuestion

Function call problem. How to solve it?

I have a function, sliceobject(im). I used another m file to compute the input im. After that I used sliceobject(im) But the ...

10 years ago | 1 answer | 0

### 1

answerQuestion

Debug mode problem. How to solve it?

I used Debug mode to test my code. it is okay If I set break points and press F10 many many times. let 's say, variable q...

10 years ago | 0 answers | 0

### 0

answersQuestion

Structure problem? How to write a loop to solve it?

I have a 1x N Structure called Structure.data Structure(1).data and Structure(i).data have different dimensions. I want St...

10 years ago | 0 answers | 0

### 0

answersQuestion

Anyone know the algorithum of bwconncomp/bwlabel ?/Coding problem

I have wrote my own code. However, too many bugs there. %% number=0; abc=[]; abcd=[]; N=300; k=1...

10 years ago | 2 answers | 0

### 2

answersQuestion

How to eliminate the repeated number?

For example, number= 1: 10; t=[1 3 5 7]; What I want to keep is [2 4 6 7 10]; how to do that? assuming t and numb...

10 years ago | 2 answers | 0

### 2

answersQuestion

how to do subtraction inside Structure

1xN Structure call Structure.result Structure(1).result=1x5 Array ,[ 1 2 3 4 5] Structure(2).result=1x7 Array,[1 2 3 4 5 6 7...

10 years ago | 2 answers | 0

### 2

answersQuestion

How to conbine the array inside the structure?

For example, 1X10 Struct Structure(1)=1X5 array Structure(2)=1X10 array Is there a way to combine it into 1X15 array? ...

10 years ago | 1 answer | 0

### 1

answerQuestion

Structure inside a while loop && pixel distance

I want to create a structure that stores my array inside a loop for Example Every time it will generate a data stored in res...

10 years ago | 2 answers | 0

### 2

answersQuestion

Anyone has bwconncomp source code? Or its algorithm

I want to know the algorithm behind. However, edit .m just show some code but most of the code are missing. Anyone has the sour...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to write object connectivity code?

Actually I am writing a code for detecting a line and its size.But I encountered some problems. Can=im2bw(imread('Ims.png')...

10 years ago | 1 answer | 0

### 1

answerQuestion

Could anyone explain the code for me ?

file_path = dir(''); fid = fopen(''); pattern_col = 0; while ~feof(fid) pattern_col = pattern_col + 1; %coloum in...

10 years ago | 3 answers | 0

### 3

answersQuestion

how to revise the embedded code

Is there a way to revise the code inside the embedded function? actually, I want to use the regionprops function to calculate...

10 years ago | 0 answers | 0

### 0

answersQuestion

how to get the position of the pixel?

for example I have an 256x256 image,called A. any method to get every pixel position? actually, I try to find the longest...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to read 3D .raw volume file ?

Is that a way to read the 3D .raw volume data directly in matlab? If not, Is it the best way to convert it to other formal in...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to estimate Major/Minor Axis length and Orientation in 3D image?

I have tried the regonprops function. However, It did not work on 3D images. Thanks

10 years ago | 0 answers | 0

### 0

answersQuestion

3D volume image reconstruction

I have stacks of 2D images. Every slice has its thickness,0.7mm. how to reconstruct 3D Volume image? What I want is like t...

10 years ago | 1 answer | 0

### 1

answerQuestion

How to add thickness to 2D images?

Anyone can help? actually, I am doing the 3D Volume image. However, I combined the 2D slices into 3D image and showed them w...

10 years ago | 0 answers | 0

### 0

answersQuestion

Anyone Knows the 3D volume iamge reconstruction from 2D slices?Thanks

I have 630 slices and I want to combine it into 3D volume image. Actually, I have use Cat(3,slice1,slice2) function to obtain t...

10 years ago | 0 answers | 1

### 0

answersQuestion

How to construct 3D images from 2D images taken at different depth of that object?

I have the 2D images of brain taken at different depth. First of all,Every 2D images have a thickness. 1.How can I constr...

10 years ago | 1 answer | 0