Recent content by Az83
-
A
How Can I Take the Inverse of an Image Matrix in MATLAB?
I'm trying to take the inverse of an image matrix by doing the following: >> A=imread ('noise.jpg'); >> inv(A) But I'm getting the following error: ? Undefined function or method 'inv' for input arguments of type 'uint8'. How can I change the image matrix so that I can take the...- Az83
- Thread
- Array Image Inverse
- Replies: 4
- Forum: Programming and Computer Science
-
A
Undergrad Finding the Index of Refraction from Pressure & Temp
Is there an equation that relates the density to the index of refraction? -
A
Undergrad Finding the Index of Refraction from Pressure & Temp
this question is for a homework problem. It seems that every source I look at, the dielectric constant for air at 1 atm is 1.00059. Is this value safe to assume for all temperatures? -
A
Undergrad Finding the Index of Refraction from Pressure & Temp
For Snell's law n2sin(theta2)=n1sin(theta1), I know that air has an index of refraction of approximately 1. But how do I find the actual value for the index of refraction if I know the temperature jump and pressure? I know that from what I am given, I can find the densities of the air, but then... -
A
MATLAB Plot Streamlines in MATLAB for t=[1,5,10]s at (x0,y0)=(0,0)
I'm not sure how to do this... I have the following velocity field: t = [1,5,10] % in seconds u=5*t*y v=2*t^2*x^2 How do I plot in MATLAB the streamlines going through (x0,y0) = (0,0) at t = 1,5, and 10 s?- Az83
- Thread
- Matlab
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
MATLAB Help in MATLAB, plotting a signal
That worked perfectly. Thanks so much for the help and quick reply :-)- Az83
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
MATLAB Help in MATLAB, plotting a signal
I'm pretty new in MATLAB, and I can't seem to get it to display a signal. I have the following: t=1:1:100; s= 2*sin(2*pi*.05*t)*5*sin(2*pi*2*t)+.75*randn; plot(t,s) But i keeps giving me the following error: ? Error using ==> mtimes Inner matrix dimensions must agree. Error in...- Az83
- Thread
- Matlab Plotting Signal
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX