Mahi Nazir
Followers: 0 Following: 0
PhD student
Statistics
RANK
35,035
of 295,844
REPUTATION
1
CONTRIBUTIONS
24 Questions
1 Answer
ANSWER ACCEPTANCE
45.83%
VOTES RECEIVED
0
RANK
of 20,288
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,650
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
Change colour of points in plot3 with increasing z value
Hi I have a set of x values, set of y values and for each x,y I have a z value. I have to plot them as shown in the attached fi...
9 years ago | 2 answers | 0
2
answersQuestion
Reading formatted data from a file
I have a file containing data like: Blocks=N The position is -8,5, velocity is 1 and direction is 0 deg 1.7 2 3 4 ...
9 years ago | 0 answers | 0
0
answersQuestion
Surface under the curve
I have 3 vectors x,y,z such that function plot3 plots the attached graph. I need to fit a surface such that I get somewhat secon...
9 years ago | 2 answers | 0
2
answersQuestion
Alternative for fopen and dlmwrite
I have a large number of small .out files to be written. There are several for loops going on. A snippet: outputfile=sprint...
9 years ago | 0 answers | 0
0
answersQuestion
Matlab running slow 2013a and 2012b
Hi I have got 2 versions of matlab in my system. Both have been working fine until few days back when both started running very...
10 years ago | 0 answers | 0
0
answersQuestion
Reading only numeric data in a text file
I have a formatted text file (attached). I have to read it, ignoring some bits like the headings. After reading I should be able...
10 years ago | 1 answer | 0
1
answerQuestion
Dimension mismatch error in matlab
Hi can someone please explain me why the first one is correct and the second one generates error. I am sure it must be something...
10 years ago | 1 answer | 0
1
answerQuestion
How to crop some matrix row
How do I crop a 105x41 matrix to get a 41x41 matrix. I want to crop the top and bottom rows to get the central 41x41 matrix. Som...
10 years ago | 1 answer | 0
1
answerQuestion
How to get the new matrix after rotation
If I am rotating a matrix by using: [C,h] = contour(x,y,Conv_Norm); rotate(get(h,'children'),[0 0 1],angle) Is there...
10 years ago | 1 answer | 0
1
answerQuestion
Rotation of a contour plot
I have a contour plot (Image1). I need to rotate it through a certain angle. If I save it as an image and then rotate it using t...
10 years ago | 1 answer | 0
1
answerQuestion
How to extend an image using convolution
<</matlabcentral/answers/uploaded_files/12830/conv_example.jpg>> Hi I have this plot which I saved as an image. I nee...
10 years ago | 1 answer | 0
1
answerQuestion
How to find Z from the surface plot for known X and Y using cftool
Hi I have a matrix X, Y and Z. I use cftool to fit a surface to this data, using linear interpolant. Is there a way through w...
10 years ago | 0 answers | 0
0
answersQuestion
Interpolation between matrices (image attached)
<</matlabcentral/answers/uploaded_files/8054/2014-02-12%2011.29.53.jpg>> I need to do 4 way interpolation where I have the co...
11 years ago | 1 answer | 0
1
answerQuestion
finding unique rows with largest value in 3rd column
Suppose I have a matrix A= 1 2 3 1 3 8 2 1 3 2 1 5 2 2 8 1 2 9 4 3 2 I want to find a ...
11 years ago | 2 answers | 0
2
answersextracting a row from a matrix
I think I solved it, if my matrix is A [C,I]=max(A(:,3)) %it will find the max in the last column and its index row=A(I,...
11 years ago | 0
Question
extracting a row from a matrix
I want to extract a row from a matrix for which the last column element is largest. for example if my matrix is 1 2 3 1 ...
11 years ago | 2 answers | 0
2
answersQuestion
Clip out of range data from a plot
I am plotting a 3D graph (using plot3) I am defining my axis([-8,8,2,50,0,20]) With centre as (0,2) I am drawing some semi-cir...
11 years ago | 1 answer | 0
1
answerQuestion
Smooth curve between points in 3D
I have a 3D plot (plot3). Along the z axis I have discrete points, Each time the function is called, a point is plotted along t...
11 years ago | 1 answer | 0
1
answerQuestion
comparing matrix elements and performing operation if equal
If I have a matrix A= 18 18 1 17 20 2 18 18 1 17 25 2 19 16 3 18 1...
11 years ago | 1 answer | 0
1
answerQuestion
Saving the variables in a function call and using them next time the same function is called
I call a function few times within a loop. Each time the function is called it calculates the value of dx,dy and AF. The next ti...
11 years ago | 2 answers | 0
2
answersQuestion
Extrapolating a line between two points
I am plotting a line using bresenham algorithm between two points. How can I extend (extrapolate) that line? e.g I am plotting...
11 years ago | 0 answers | 0
0
answersQuestion
selecting elements in the matrix
Suppose I have a matrix A=[1 5 7; 2 4 3; 7 8 9] I want the indices and the values of all the elements >6 So I want the answer ...
11 years ago | 1 answer | 0
1
answerQuestion
Comparing matrices with different dimensions
I have a matrix [row, col, vector] with a large number of entries for row, col and vector. I have another matrix [x, y] with...
11 years ago | 2 answers | 0
2
answersQuestion
How to get contour plot and line plot intersection values/ coordinates
I am plotting a 3D graph and a contour of the same. Then I plot few lines on the contour plot. I want to know the value of the c...
11 years ago | 1 answer | 0
1
answerQuestion
How can we get the intersection coordinates of a contour plot and a line plot?
I have a contour plot and a line which intersects this contour at some positions. How do I get the coordinates of these intersec...
11 years ago | 0 answers | 0