Rank: 2546 based on 57 downloads (last 30 days) and 2 files submitted
photo

Luigi Piegari

E-mail
Company/University
University of Naples

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Luigi View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
16 Dec 2009 Local Maxima finder This function gives the local maxima of the input signal: x. Author: Luigi Piegari matlab, max 15 1
28 Mar 2006 Induction machine model This is an induction machine model Author: Luigi Piegari simulink, induction motor machi..., please send document ... 42 20
  • 3.57143
3.6 | 23 ratings
Comments and Ratings on Luigi's Files View all
Updated File Comment by Comments Rating
18 Mar 2012 Induction machine model This is an induction machine model Author: Luigi Piegari YL

By the way, I found that i can't open the file. I am using MATLAB R2009a. Is it because of my MATLAB version problem? How can I solve this? Thank you.

18 Mar 2012 Induction machine model This is an induction machine model Author: Luigi Piegari YL

Hi, can you send me the documentation and equations used for modelling? It is not understandable. My email address is yialitong@hotmail.com Thank you so much.

30 Dec 2011 Induction machine model This is an induction machine model Author: Luigi Piegari Saud

please send help documentation on adamfamily1978@yahoo.co.nz

Thanks

08 Apr 2011 Induction machine model This is an induction machine model Author: Luigi Piegari Vedant

thank you very much !!!

19 Dec 2009 Local Maxima finder This function gives the local maxima of the input signal: x. Author: Luigi Piegari Oldenhuis, Rody

It looks like you forgot an "any":

"if x(n) > [x(minimo_ind:n-1) x(n+1:massimo_ind)]"

should be

"if any( x(n) > [x(minimo_ind:n-1) x(n+1:massimo_ind)] )"

Also, you could better use the construction

M = NaN(size(x));
for (...)
...
if any(...)
M(n) = x(n);
end
end
M = M(~isnan(M));

which, despite the extra initializations and deletions should be faster (and safer) for long [x] or small [punti], or [x] with lots of local maxima.

Contact us