Feeds
提问
how to open mat file
I have a .mat file which is supposed to contain data for being able to plot the air pressure in lungs vs time, as well as a few ...
10 years 前 | 1 个回答 | 1
1
个回答提问
3-D matrix transpose
Hello I have a 3-D matrix and I want to take the transpose of each individual vector. This is what I want to do: transpose...
10 years 前 | 2 个回答 | 1
2
个回答提问
subplot command for plotting images
I have a 45x45x45 array of images which I would like to view at once by using the subplot command. However when I am using subpl...
10 years 前 | 2 个回答 | 0
2
个回答提问
equality of an array
I have two arrays. A is 46x46; B is 45x45. I want to check if the first 45 rows and 45 columns in A are equal to the 45x45 B ...
10 years 前 | 1 个回答 | 0
1
个回答提问
opening a .rec file
I have a .rec file which is supposed to be a reconstructed SPECT image of a point source. I am trying to open it up in matlab. ...
10 years 前 | 1 个回答 | 0
1
个回答提问
MATLAB functions and subfunctions
I have a matlab function file which contains the main function which calls on many subfunctions. I would like to look at the out...
10 years 前 | 3 个回答 | 0
3
个回答提问
FOR loop control structure
I have written this code: for k=5:2:13 fprintf('The square of %d is %d.\n',k,k^2) end I have been trying to un...
10 years 前 | 2 个回答 | 0
2
个回答提问
logical operators in if statement
I have a code that looks like for x = 1:7:length(list) if(list(x+2)>0 && list(x+2)<1024) energys(l...
10 years 前 | 3 个回答 | 0
3
个回答提问
SPECT/PET image processing code
I was assigned with understanding the inner workings of a matlab code used for SPECT image processing. This code takes multiple ...
10 years 前 | 2 个回答 | 0
2
个回答提问
linear system of equations
I am trying to use 'solve' to solve this system of equations: solve('5*x+6*y=5','10*x+12*y=10') and I get the a return s...
10 years 前 | 2 个回答 | 0
2
个回答提问
vpasolve for numerical solution
Hello I am trying to find a solution to the equation: 1= 0.95*2*invtan(4.5/2*r)*r/(4.5) for the unknown r that satisfies t...
10 years 前 | 1 个回答 | 0
1
个回答提问
help with numerical integration
I want to numerically integrate a function where a parameter is varied. This is what my code looks like: y=0:0.0001:30.5; ...
11 years 前 | 1 个回答 | 0
1
个回答提问
introducing a new variable
I am trying to introduce a new variable that is in terms of a variable that is known. r''=(-b/a)*r where r is just a row ...
11 years 前 | 2 个回答 | 0
2
个回答提问
plot of inverse fourier transform
I am trying to plot the inverse fourier transform of a function and I want this plot to be centered at zero. This is the followi...
11 years 前 | 1 个回答 | 0
1
个回答提问
2D normal distribution with variable array
I am trying to make a 2D vaiable array in 'r' so that I can generate a 2D normal distribution. I have the code for the 'r' ar...
11 years 前 | 0 个回答 | 0
0
个回答提问
graphing a fourier transform function
I have a function: f=gaussmf(x,[3,10]), and wanting to plot the magnitude if its fourier transform. I am defining the frequency,...
11 years 前 | 1 个回答 | 0
1
个回答提问
plotting data points at unevenly spaced intervals
I am wanting to plot data so that the independent variable is multiplied by a factor of 0.025 starting with the independent vari...
11 years 前 | 1 个回答 | 0
1
个回答提问
convolution of two functions
I want to convolve two functions: f=inline('gaussmf(x,[3,0])','x') h=inline('normpdf(x,0,4)','x') So the conv will not ...
11 years 前 | 3 个回答 | 0
3
个回答提问
How do I map an array to grayscale colormap?
I have an array of numbers and would like to: 1) map 0 to a display intensity of 0 and the highest value in the array to whit...
11 years 前 | 2 个回答 | 1
2
个回答提问
Area under a curve from a set of data points
Hello I have a 'n x 8' matrix with with each column representing the radioactivity in a certain organ and the rows correspon...
11 years 前 | 1 个回答 | 0
1
个回答提问
how do i plot a solved diff eq with coefficients after the diff eq is solved
Hello This is a post in follow up of discussion I began with user name Bruno, Torsten... The original problem was this: I...
11 years 前 | 0 个回答 | 0