Code for simulating beam patterns in antenna arrays
Hi, I'm new to the world of Matlab and antennas. I require a code that returns the beam pattern of the antenna when a signal from a specified direction is detected by the antenna/antenna array. The direction is user defined and so is the gain. These can be manipulated through a GUI and the pattern is displayed on t... 31 Mar 2010 14:20
inserting video
I am trying to insert video and display it i used this function mov = aviread('filename'); but the video didn't appear. how can i get frames from it to use it in motion detection. ... 31 Mar 2010 14:20
GNLSE source code
Dear All, I have a problem with my Matlab source code written to solve the generalized nonlinear Schrödinger's equation using a split-step solver. The code includes the convolution integral with the Raman response function using the built-in function "conv", but the results do not match the experimental ones. The spec... 31 Mar 2010 14:20
legacy code tool with complex c functions
Hello, I have a fairly complex c function that I need to call in simulink using the legacy code tool. Specifically, this function returns multiple outputs by expedient of passing in a structure variable by reference. Within the function, the values in this structure are updated. When I use this function within a... 31 Mar 2010 13:13
boundary detection
I want to put boundary depending on min and max value of co-ordinates to detect object can any one help me.... below code is not working can anyone help... [row,col]=size(ero); for i=1:1:row for j=1:1:col if ero(i,j)==1 if i<i++ || j<j++ min=ero(i,j); else max=ero(i,j); ... 10 Apr 2010 12:23
matlab - Warning: Infinite or Not-a-Number function value encountered.
"dingz" <alexandertang357(a)hotmail.com> wrote in message news:595447277.479086.1270052759993.JavaMail.root(a)gallium.mathforum.org... Hello, I'm new on this forum. I've got a question regarding matlab, i'm stuck with this little problem for hours and i can't seem to figure out how to fix it. Here's my fol... 31 Mar 2010 17:42
UITree Refresh without collapsing
Hi, I have implemented a uitree in a GUI but am having a slight issue with updating the nodes in the tree. Right now, the only way I can figure out to refresh the nodes is to regenerate the tree entirely, which causes it to collapse down to the initial state (showing only the root node). I would like the tree to sta... 31 Mar 2010 13:13
OPC Toolbox
I am doing a project containing MATLAB and WAGO PLC. There are some sensors and I want to start executing the MATLAB Code depending on the data I get from the plc. How can I upload an m-file to opc toolbox?? Also I will convert the MATLAB output as inputs for the PLC. I also looked at some of the demos. Are there a... 31 Mar 2010 13:13
Using a loop on a function,sum vectors of different sizes
Hi, So I am using the ode solvers for the first time, in this case ode45. I want to solve it at different 'j' values which correspond to modes, and then sum to find the total effect. So far by using a for loop, I can only get it to give me the answers for the last j value I speculate, ie. 5 in the script below and d... 31 Mar 2010 13:13
interfacing rs232 (fread command)
Hello! I am working on a matlab project now that communicates with a device (an fpga) via rs232. The configuration is 8 data bits, no parity bits, 1 stop bit and the baud rate is 115200. Now my device is sending 8 bits to the computer and I plot the data. The problem is that matlab reads the data differently. In ... 31 Mar 2010 13:13