First
|
Prev |
Next
|
Last
Pages: 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122
Maximum with indexes! Hello, I am looking for something that does the following. suppose you have ind = [ 1 2 3 2 5 7 7 7] val = [ 4 2 4 3 3 3 4 4] I want to some the maximums for each index (1 to 7), so the answer would be ans = [ 4 3 4 0 3 8] note that index 7's answer is 8 because it has two maximum (4 and 4). I know h... 1 Aug 2010 06:12
Plotting longitude latitude coordinates in MATLAB I have a long list of longitude and latitude coordinates for each second of a vehicles journey along a route. I have plotted the cordinates on a graph and now I would like to plot the elevation at each set of coordinates too. Does anyone know if and how I can import elevation data in to MATLAB? ... 31 Jul 2010 19:27
matlab figure hello all, when i generate a 3-D plot plot withe following code: k = 5; n = 2^k-1; [x,y,z] = sphere(n); c = hadamard(2^k); surf(x,y,z,c); colormap(F.colormap); it genrates a 3-d plot without any rectangular box around the figure. but if i write the following code to save the figure as some format, k = 5... 31 Jul 2010 08:33
Help in the Fitness Function on GA toolbox Hello, I'm new to the forums, I hope you can help me. Is there any way to return extra values from the fitness function of GA? For example, I have a fitness function that returns the variable f, but i need to know the value of other variable. My problem is: function f=obj(x, a, b, c) if a==1 f=x*b a=0... 31 Jul 2010 08:33
problem with matlab vs macro (excel) I've build a macro in excel which creates a histogram. I've tried it in excel and it works fine. Because I've to run that macro over multiple excel-files, I've created a m-code: Excel=actxserver('Excel.Application'); set(Excel, 'Visible', 0); winopen('E:\Macro.xls'); Excel.Run(['''', 'Macro.xls', '''!histogram'])... 2 Aug 2010 12:32
Need advise on getaudiodata [Is for wav file frequency /pitch extract purpose] Hi all, i would like to have your advise on the matter above. I intended to extract all frequencies / pitch of my .wav file and display all the data on the command window. But the getaudiodata function seems like not supported in MATLAB (I can't find this in HELP). mydata = getaudiodata('test1.wav','int16'); fpr... 31 Jul 2010 08:33
face color database hello I work on the subject of detection of emotion but the problem is that until now I didn't find a free color database contains various facial expressions (joy, sadness ,...) please can someone help me thank you ... 31 Jul 2010 11:48
Plotting points at the max Hello, I am trying to plot a red "dot" at the maximum Y value. Here is what i have so far. function Trajectory % trajectory: function to solve trajectory motion with inputs of angle % velocity, and position. This function will also give trajectory for % the alternate angular value. Or +180 degrees. % % y = traj... 31 Jul 2010 23:47
Error I need to calculate divergence of a vector field, maybe Is the most stupid mistake ever made but I really need a solution syms x y g, u=x*exp(-(x^2+y^2)/g^2); v=y*exp(-(x^2+y^2)/g^2); div=divergence(x,y,u,v) ??? Error using ==> sym.double at 29 DOUBLE cannot convert the input expression into a double array.... 3 Aug 2010 14:44
from x_guess to x_feedback Dear All, I am very new to programming and to MATLAB and with the help of some of you, I put up together a code where the idea is: given an arbitrary guess vector (x_old), keep updating it, so that x_feedback ends up being equal to x_old. For this particular problem, looks like the answer is x_old=(0.0000..., -0.25...... 2 Aug 2010 03:49 |