fmin, this report!
I use fmin for sizing optimization, the result is this: -------------------------- Local minimum possible. Constraints satisfied. fmincon stopped because the predicted change in the objective function is less than the selected value of the function tolerance and constraints were satisfied to within the select... 22 Feb 2010 10:43
Setting axis limits on a compass plot
Hello, Does anyone know how I can set axis limits on a compass plot? Usually, using regular plot, you have the 'xlim' and 'ylim' options but there is nothing of that sort in compass plot. Perhaps there is a way to get access to the axis and set their limits? Thank you ... 22 Feb 2010 01:59
Changing (1,2,3,4,5...) to (1,1,2,2,3,3,4,4,5,5...)
Hi All, I have a column vector of numbers that I would like to extrapolate by "doubling up": e.g. turn 2 4 6 8 into: 2 2 4 4 6 6 8 8 any ideas on an easy vectorised way to do this? TIA, Rob ... 23 Feb 2010 03:33
Generalized Eigen Vector problem
Hi for the two line of MATLAB code: --------------------------------------------- [V1, D1]=eig(A, B) [V2, D2]=eig(inv(B)*A) I have a question/query: --------------------------------- According to the MATLAB definations of eig(A) and eig(A, B), should not it be true that, V1=V2? I could not find why V... 28 Feb 2010 01:19
Using the Serial Blocks in Simulink to Transmit Across Machines
We have a bluetooth wireless serial port adaptor. This essentially connects two bluetooth devices wirelessly with serial port format. One adaptor is plugged into a laptop on COM3, the other into a PC on COM1. Both computers have simulink. We'd like to send data (uint8) from one copy of simulink on a laptop, to anoth... 21 Feb 2010 20:31
Using the Serial Blocks in Simulink to Transmit Across Machines
We have a bluetooth wireless serial port adaptor. This essentially connects two bluetooth devices wirelessly with serial port format. One adaptor is plugged into a laptop on COM3, the other into a PC on COM1. Both computers have simulink. We'd like to send data (uint8) from one copy of simulink on a laptop, to anoth... 21 Feb 2010 20:31
fileList - how to clean up ?
clear all fileList = dir('C:\Users\Laptop\Desktop\Matlab\fileList\kds'); fileList = fileList(~[fileList.isdir]); [junk, sortorder] = sort([fileList.datenum]); fileList = fileList(sortorder); numfiles = numel(fileList); temp = cell(1,numfiles); for i1 = 1:numfiles fid = fopen(fileList(i1).name); temp{i1} = tex... 21 Feb 2010 19:24
P Color Help
Hi for my project I need to use an interactive plot to show speeds of 30 vehicles. I got the data with speeds ( 30 x 1 ) matrix Distances at which the speeds were recorded ( 30 x 1 ) matrix I tried using pcolor but I am not successful.. i have used it by using the interactive graph plot in variable editor. Can ... 21 Feb 2010 20:30
Chi squared two sample test to measure image correspondence
Hi everyone, I want to use a chi squared two sample test to compare two images. One of them is the original (expected) picture and I want to obtain a measure of how good the other image fits it. I tried corrcoef but it's not robust and sensitive to outliers. I also tried spearmans rank correlation coefficient but it... 22 Feb 2010 19:48
How can i remove zeros from rows and column
hi, I have matrix (256*256).I want to remove zeros from rows and column in rows and column i have numeric data which i need. How can i remove zeros from rows and column saving my numeric data ? thank's in advance ... 21 Feb 2010 18:15