Community Profile

photo

Mahi Nazir


Last seen: ungefär 2 år ago Active since 2013

Followers: 0   Following: 0

Message

PhD student

Statistics

  • Thankful Level 3

View badges

Feeds

View by

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...

ungefär 8 år ago | 2 answers | 0

2

answers

Question


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 ...

nästan 9 år ago | 0 answers | 0

0

answers

Question


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...

ungefär 9 år ago | 2 answers | 0

2

answers

Question


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...

ungefär 9 år ago | 0 answers | 0

0

answers

Question


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...

ungefär 9 år ago | 0 answers | 0

0

answers

Question


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...

mer än 9 år ago | 1 answer | 0

1

answer

Question


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...

mer än 9 år ago | 1 answer | 0

1

answer

Question


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...

mer än 9 år ago | 1 answer | 0

1

answer

Question


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...

mer än 9 år ago | 1 answer | 0

1

answer

Question


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...

nästan 10 år ago | 1 answer | 0

1

answer

Question


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...

nästan 10 år ago | 1 answer | 0

1

answer

Question


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...

ungefär 10 år ago | 0 answers | 0

0

answers

Question


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...

ungefär 10 år ago | 1 answer | 0

1

answer

Question


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 ...

mer än 10 år ago | 2 answers | 0

2

answers

Answered
extracting 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,...

mer än 10 år 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 ...

mer än 10 år ago | 2 answers | 0

2

answers

Question


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...

mer än 10 år ago | 1 answer | 0

1

answer

Question


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...

mer än 10 år ago | 1 answer | 0

1

answer

Question


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...

mer än 10 år ago | 1 answer | 0

1

answer

Question


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...

mer än 10 år ago | 2 answers | 0

2

answers

Question


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...

mer än 10 år ago | 0 answers | 0

0

answers

Question


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 ...

mer än 10 år ago | 1 answer | 0

1

answer

Question


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...

mer än 10 år ago | 2 answers | 0

2

answers

Question


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...

nästan 11 år ago | 1 answer | 0

1

answer

Question


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...

nästan 11 år ago | 0 answers | 0

0

answers