Question


how to convert to 3d?
Hai, I have plotted a hyperbolic lens in matlab using the equation "y=sqrt((n^2-1)*((x-f)^2))+((2)*(f)*(n-1)*(x-f)))". As yo...

12 years ago | 1 answer | 0

1

answer

Question


how to find intersection?
Hai, I am working on analytical geometry, I need to find the intersection of a line and a plane. Is there any function in mat...

12 years ago | 1 answer | 0

1

answer

Question


how to draw a plane?
Hai, I am working on optics. I have plotted a lens in matlab. The rays of light emerging out of the lens, after undergoing re...

12 years ago | 2 answers | 0

2

answers

Question


how to copy matlab figure into ms word?
Hai, I am preparing my thesis report. I have typed the report in ms word, I need to put the results I have obtained by plotti...

12 years ago | 3 answers | 0

3

answers

Question


how to plot spikes?
Hai, I have a 3 dimensional graph. I need to plot spikes at required points. How is this possible in matlab? Looking forward ...

12 years ago | 1 answer | 0

1

answer

Question


how to find the distance?
Hai, I have drawn a line between two points, I need to find the length(distance) of that line between those two points. Is th...

12 years ago | 2 answers | 0

2

answers

Question


how to rotate?
Hai, I have drawn a vertical hyperbolic lens in matlab by using lens equations. I need to rotate this into a horizontal lens....

12 years ago | 1 answer | 1

1

answer

Question


how to draw rays?
Hai, I need to draw rays coming out of a lens after refraction. The rays should be drawn such that, after coming out of the l...

12 years ago | 1 answer | 0

1

answer

Question


how to show grid lines?
Dear sir/madam, I gave the command grid on, but no grid lines were shown on the figure window. Why is it so? What is the righ...

12 years ago | 2 answers | 0

2

answers

Question


how to solve simultaneous equations?
Dear sir/madam, I need to solve two simultaneous linear equations. How could I do this in matlab? Looking forward to hearing ...

12 years ago | 5 answers | 0

5

answers

Question


how to do differentiation?
Dear sir/madam, I have a function y=f(x). I need to differentiate this function and find the value of the differentiation(slo...

12 years ago | 5 answers | 0

5

answers

Question


how to do ray tracing?
Dear sir/madam, I am working lens antennas. Here the incoming plane waves first enter the lens, and come out of the lens and ...

12 years ago | 1 answer | 0

1

answer

Question


how to make lenses in matlab?
Dear sir/madam, I am working on optical lenses. I need to create lenses such as biconvex, biconcave, planoconvex and planocon...

12 years ago | 1 answer | 0

1

answer

Question


how to plot geometric figures?
Dear sir/madam, I am working on geometric shapes. I need to plot geometric shapes like square, rectangle, triangle etc... in ...

12 years ago | 5 answers | 1

5

answers

Question


I am not getting a graph when I use mesh
Dear sir/madam, When I use mesh() or surf() to plot the graph, I am not getting any graph. It displays only the co-ordinate a...

12 years ago | 1 answer | 0

1

answer

Question


how to plot the pdf of a random variable?
Dear sir/madam, I need to plot the PDF (probability density function) of the uniform random variable or any other random vari...

12 years ago | 1 answer | 0

1

answer

Question


how to generate a uniform random variable with mean zero and variance ten?
Dear sir/madam, I need to generate a uniform random variable with mean 0, and variance 10 for my project. How could I generat...

12 years ago | 2 answers | 0

2

answers

Question


how to find the row and the column location in a matrix?
Dear sir/madam, I used the functions max(X,[],1),max(X,[],2). These give the maximum values along each column and each row re...

12 years ago | 1 answer | 0

1

answer

Question


how to get a 3D stem plot?
Dear sir/madam, mesh(),meshc(),meshz(),surf(),surfc(),surfz() etc... all these functions plots a continuous 3D graph. I need ...

12 years ago | 2 answers | 0

2

answers

Question


how to run the matlab code step-by-step?
Dear sir/madam, I need to run the matlab code step-by-step, and also see what is happening in the code or the variables. How ...

12 years ago | 3 answers | 7

3

answers

Question


how to generate a uniform random variable in the interval [-1 1] with mean zero?
Dear sir/madam, I am working random variables. I need to know how can I generate a uniform random variable in the interval [-...

12 years ago | 2 answers | 0

2

answers

Question


how to know how much time it takes to run the matlab code?
Dear sir/madam, I need to know, how much time does a code take to run and display the output? how can I calculate this in mat...

12 years ago | 1 answer | 0

1

answer

Question


how to plot 3D graph using mesh() for a rectangular matrix of data?
Dear sir/madam, I am using mesh() to plot 3D graphs. To plot a 3D graph the length of x-axis and y-axis must be equal, using ...

12 years ago | 2 answers | 0

2

answers

Question


when polar plot is zoomed it does not show values on the radial axis and the polar axis.
Dear sir/madam, I am working on antenna radiation patterns and using polar() to plot the radiation pattern. When I zoom into th...

13 years ago | 0 answers | 0

0

answers

Question


how to change the values on the polar axis?
Dear sir/madam, I am plotting antenna radiation patterns using matlab, using polar command. When I plot the radiation pattern...

13 years ago | 1 answer | 0

1

answer

Question


how to find argument or angle of a complex number in matlab?
Dear sir/madam, How do we find the argument of a complex number in matlab? If I use the function angle(x) it shows the fol...

13 years ago | 3 answers | 0

3

answers