complex numbers?
Given the following complex numbers, write a computer program, to perform the following algebraic operations: A= a +jb B= c +jd FIND: 1. A+B 2. A-B 3. A/b 4. A*B DATA: a b c d -1 0 2 3 5 -1 2 -1 0 ... 4 Sep 2009 10:56
question: find and use neighboring nodes
"JohnMC " <nirmathink(a)gmail.com> wrote in message <h7l00j$ci9$1(a)fred.mathworks.com>... I need to implement an algorithm on a 10*10 image, and i will reshape the image matrix to a 100*1 array before calculation. The problem is i also need to use the neighboring info. for each node in the matrix during calculation... 3 Sep 2009 19:34
Delay between two signals
"Messam Abbas" <messam4u(a)gmail.com> wrote in message <h1rj58$2o4$1(a)fred.mathworks.com>... Hi guys, I got a seriously simple problem but i m unable to tackle it down.. I have two signals. signal 1 is 500 samples for 18 seconds. signal 2 is 1100 samples for 18 seconds. they are almost i... 3 Sep 2009 17:19
zoom bottom plot from plotyy
"Paul Mennen" <nospam(a)mennen.org> wrote in message <h7ap9k$bp6$1(a)fred.mathworks.com>... "Jon Shultz" wrote Since plotyy places the two axes directly on top of eachother, the zoom feature from the figure toolbar will only allow you to zoom the data plotted second. Is there a way to interactively zoom axis 1 w... 3 Sep 2009 15:05
How to add transparency to colorbar?
Hi all, I am trying to do a surface plot on top of a quiver plot. In order to see the quiver plot, I have to add some transparency to the surface plot. But the problem is that I also have a colorbar associated with surface plot. I cannot add transparency to the colorbar. And now the color on the surface plot looks d... 3 Sep 2009 15:05
need help with exporting figures into jpgs
It looks like you should have written something like: print h subj(s) 'averagegain.jpg' Good luck. I tried print and am getting this message now: ??? Error using ==> graphics\private\name at 307 Error using ==> graphics\private\name at 94 Cannot create output file '. Error in ==> dilation_image... 3 Sep 2009 13:58
Plot color according to radius of "sphere"
Hello, I have to make a plot depending on 2 angles and a radius. so long there is no problem. Is ist possible to make the color of the plot according to the radius and not to the z-axis lie it is usually? my code: Code: clear all; load data2; phi=data2(:,2); theta=data2(:,1); radius=data2(:,3); [hor ve... 4 Sep 2009 01:05
How can we use same image variable in two different callbacks
guidata says this: "GUIDE Uses guidata GUIDE uses guidata to store and maintain the handles structure. From a GUIDE-generated GUI M-file, do not use guidata to store any data other than handles. If you do, you may overwrite the handles structure and your GUI will not work. If you need to store other data with yo... 4 Sep 2009 06:31
How to mex compile openGL code?
Hi This one finally worked out (I love replying to my own postings ;) It turns out that when using MEX you need to explicitly specify the libraries GL, GLU and glut ie: mex -v -lGL -lglut -lGLU mexRender.c although compiling in gcc seperately would require only the '-lglut' option. (mex -v -lglut me... 7 Sep 2009 14:29
Separated the noise
dear who considering i write my simple code under my simple information of matlab function and post the code in order to benefit other beginner thanks I have a problem and I hope any help for me how to separated the original signal from its noise. I have a wave(.wav) I blend it with noise. my listing p... 26 Dec 2008 01:11