First  |  Prev |  Next  |  Last
Pages: 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
Adding commands to a class definition
Hi. I would like to add commands to my class definition in the same way as "plot" can does... for example, consider this example: plot(X,Y,'o','Color','red','LineWidth',2) To me: - 'o' is a command that does not accept arguments; and, - 'Color' and 'LineWidth' are commands that accept/require an argument to be ... 28 Jun 2010 23:50
text annotate graphs
Hi all, I am trying to annotate a bar plot, however I am keeping getting the error "??? Subscript indices must either be real positive integers or logicals.". The error happens even when I try the matlab example, plot(0:pi/20:2*pi,sin(0:pi/20:2*pi)) text(pi,0,' \leftarrow sin(\pi)','FontSize',18) Does anyon... 21 Jun 2010 01:29
fprintf printing long strings
Hi all, I have a simple fprintf code as follows: fido = fopen(myfile, 'a'); fprintf(fido,['Name: ',mystring,'\n']); where mystring is: 'dogs' and this seems t print ok. However if mystring is longer i.e. I have tried to use a pathname instead, mystring='C:/all/this/way/to/get/home/sweet/home' I get a w... 21 Jun 2010 13:33
xsetup install error on linux
I am trying to install matlab on fedora and I am getting the following error: /tmp/update/bin/glnx86/xsetup: error while loading shared libraries: libXmu.so.6: cannot open shared object file: No such file or directory I was initially getting this error with libXp.so.6 but I downloaded the library as sugge... 20 Jun 2010 18:56
auto tuning PI controller,simpowersystems
Hello, I'm trying to set Kp and Ki constants of the PI controller inside the demo model, at help menu of matlab: 6 kW 45 Vdc Fuel Cell Stack power_fuel_cell.mdl I put the new PID block that has the auto tuning function instead of the used at the demo. And I removed the loop that controls the fuel for fuel cell. ... 2 Jul 2010 17:57
fminsearch - extra output
Hey, I am using fminsearch to optimize a log-likelihood function and I want to extract extra parameters from the function when the optimizing is done. But I am having trouble doing so. The syntax is as follows: [thetahat,fval] = fminsearch(@likelihood,theta0,Options,Data,p,q); And likelihood.m: function [LLF... 20 Jun 2010 17:50
Help to calculate spectrogram ??
hi all i have a mask (144*128 ) and i want to apply this mask to the signal spectrogram. how i can calculate the spectrogram and then apply my mask. thanks in advance ... 20 Jun 2010 16:44
A complex convolution
Hi, I'm trying to create an output signal using fixed volterra kernels and I would like to know if there is a faster (computationaly) way to do the following equation rather than using a double for loop: y(n) = Σk1(i)x(n-i) + Σk(i,j)x(n-i)x(n-j) the first part can be made with a single convolution but for... 21 Jun 2010 12:26
creating den num for fix point filter
I am trying to create fix point butter filter to get NUM and DEN for my MCU filtering I know I should do it like that Fs=1000; % sample frequency Fc=45; %cutoff frequency [B,A]=butter(7,Fc/(Fs/2)); hd=dfilt.df2(B,A); %then set hd set(hd,'Arithmetic','fixed'); from there I am quit confised which other... 21 Jun 2010 01:29
is bootci with bootfun returning a vector possible? (at least
Thanks a lot, I have to ask my university's IT to update my matlab then. I have an other question if you could help me please; how can I see the algorithm that the command bootci executes? ... 20 Jun 2010 16:44
First  |  Prev |  Next  |  Last
Pages: 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451