|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Having problem coding for Shoe print identification(Matlab)
Hi everyone.....ya currently i am doing my final year project...and it is about shoe print identification... so can anyone of u guys help with the source code...? Well if u guys have source code for thumbprint recognition, it is more than enough for me as reference already...Thanks in advance..
|
|
#2
|
|||
|
|||
|
You're not actually expecting help, are you?
__________________
Need help with broken code? Your question should be like a good bug report: (1) It has the smallest number of steps to reproduce the problem you see (2) It tells us precisely what you expected to see and (3) It tells us what you saw and how it differed from what you expected. We need all three to help you. Want better answers? Tell us what you Googled for and what steps you took to answer your own question. |
|
#3
|
|||
|
|||
|
Quote:
well...if u guys can help than that will be good..anyway...i juz need some code for reference...coz currently i need to develop the shoe print algorithm from scratch and some more i dont have strong foundation in matlab so it is pretty hard for me though..... |
|
#4
|
|||
|
|||
|
This is your final project. You need to write the code on your own. We only help when you make an effort on your own AND you don't dump entire projects on us.
|
|
#5
|
|||
|
|||
|
Quote:
ok i know....thx...will come back to u guys once i am having problems wif coding... |
|
#6
|
|||
|
|||
|
juz want to ask how to make all the elements in matrix to postivie number. Let say Y=[2, -4, 3] . All i want is change -4 to positive number using matlab. Thx a lot....
|
|
#7
|
||||
|
||||
|
Quote:
Loop through Y (that's your list of [2, -4, 3]) and add each item to a new list. If the item is less than 0 (negative), then call the abs function on that item and then add it to the new list. I don't have Matlab or one of its clones to write working code to do this, but the concept is simple. http://www.math.ufl.edu/help/matlab-tutorial/ Matlab seems to be a simple language. It might even be easiest to use recursion to solve your problem. Update: After 5 - 10 minutes of studying the Matlab language and having installed Octave (Matlab clone that I can use on my Mac) prior to that, I've found the solution (which is too easy). Code:
y = [2, -4, 3]
for i = 1:length (y),
if y (i) < 0,
y (i) = abs (y (i));
end
end
Either they aren't teaching the language very well, or you have not been paying attention. This is the first time I've ever touched Matlab. Last edited by Yegg` : August 29th, 2007 at 12:51 PM. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Software Design > Having problem coding for Shoe print identification(Matlab) |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|