home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Matlab and GUIs

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2669
Discussions: 200,965, Posts: 2,379,623, Members: 246,332
Old January 21st, 2003, 11:49 AM   Digg it!   #1 (permalink)
Member
 
Join Date: Jul 2002
Location: DC Suburbia
Posts: 190
Send a message via AIM to jon112981 Send a message via Yahoo to jon112981
Matlab and GUIs

Recently I was told my one of my professors(the one I'm teaching for) that it would be really neat this semester if someone designed a program to take in a frequency from a microphone and plot it and give the RPM of our motor at that given frequency. Didn't sound too hard. The catch was I have to use Matlab to do it. Don't ask why. I did some playing around with the GUI editor in matlab and there's a bunch of commands that I still don't get. I am pretty sure our department has a matlab book but I was wondering if anyone has come across any good online guides to using the GUI editor in matlab. I'm using version 6. I've found one for version 5 but the examples they go through are quite different.

Last edited by jon112981 : January 24th, 2003 at 01:16 AM.
jon112981 is offline   Reply With Quote
Old January 24th, 2003, 12:33 AM     #2 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
Quote:
Recently I was told my one of my professors(the one I'm teching for) that it would be really neat this semester if someone designed a program to take in a frequency from a microphone and plot it ...

is that 'tech' ing or 'teach' ing?

[yoda]
ambiguous, your message, is.
[/yoda]

is this "matlab":
http://www.mathworks.com/

sounds a lot like:

running buffalo (os) on 8088, 880888, 880886, chip thingy, micro procs on pcb (we had to config, ), to capture signal from oscilloscope(sp?) and display on a mac?

something, I actually did in college.

tell prof:

do it. I will teach to students.
OR
have the students do it, then they will teach you...

my bad.

ok, you want to do what?

oops...
Quote:
program to take in a frequency from a microphone and plot it and give the RPM of our motor at that given frequency.

that makes no sense.

[coding]
mic.out >> plotter.capable=true;
motor.freq << mic.out;
motor.rpm.out >>what you want?
[/coding]

what is the mic's RPM?

absolutely no matlab help.
qball is offline   Reply With Quote
Old January 24th, 2003, 01:13 AM     #3 (permalink)
Member
 
Join Date: Jul 2002
Location: DC Suburbia
Posts: 190
Send a message via AIM to jon112981 Send a message via Yahoo to jon112981
Yes matlab is made by mathworks. Oaky let me clarify the intent of the apparatus. We build an acoustic test box. In this we place a small submarine with a motor and drive shaft. The drive shaft may or may not be aligned. Motor gets turned on. As the motor runs it emits an a sound. The frequency of this sound is going to be different depending on the RPM of the motor. If the drive shaft is not perfectly aligned then it will slow the velocity of the motor down. Now comes the part where the acousitcs come into play. If the motor is not aligned and thus spinning slower than it should, the frequency that the sound of the 'hum' of the motor is going to be different in some way than if it were spinning at the max RPM. We want to use matlab to take in the signal from a microphone recording the hum of the motor, store the frequency of the signal and then tell you if the motor's dirveshaft is aligned. That doesn't seem to be too hard. Infact I KNOW how to do that. Where the problem comes in is the professor running the course wants me to make a GUI for the program(script) I'm creating in MATLAB. I must use either MATLAB or LabView. I have no experience with LabView so I'll probably go with MATLAB. But I have no real experience using MATLAB's GUI editer or making GUIs in general.
jon112981 is offline   Reply With Quote
Old January 25th, 2003, 12:09 AM     #4 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
sub, motor, screws, cavitation!

try catepillar drive.

not funny.

Quote:
The frequency of this sound is going to be different depending on the RPM of the motor.

not exactly true, as more factors are involved with sound output of motor at a given RPM. maybe, I teach class next year.

plot the range of freg output of motor thru RPM range, it is not straight line.

don't trust me, try it.

now, isolate motor in cardboard box, do same.

don't trust me, try it.

compare results, no matchey.

Quote:
If the drive shaft is not perfectly aligned then it will slow the velocity of the motor down.

again, not true, maybe speed motor up? as in drive shaft so unperfectly aligned, not even touching motor, drive shaft will have little effect on motor rpm as it goes thru RPM range, tho freq of motor will change.

how does this work?

here comes the fun part.

very realistically possibility:

drive shaft not perfect aligned, though has own resonant freg (dependent upon lotsa stuff), as motor also has resonant freg (dependent upon lotsa stuff).

now, put not perfectly aligned drive to motor and run thru RPM range of motor. what happens then?

don't trust me, try it.

compare to previous results.

post back.

what if motor not perfectly aligned.
qball is offline   Reply With Quote
Old May 7th, 2006, 11:57 PM     #5 (permalink)
Junior Member
 
Join Date: May 2006
Posts: 4
try in matlab -->

demo ---> Toolboxes --> data acquisition &
demo ---> Toolboxes --> siginal processing --> interfacing with machines

you may also like to visit kluid ( http://www.kluid.com ) its a well respective Matlab forum.

b4 : ]

Quote:
Originally Posted by jon112981
Yes matlab is made by mathworks. Oaky let me clarify the intent of the apparatus. We build an acoustic test box. In this we place a small submarine with a motor and drive shaft. The drive shaft may or may not be aligned. Motor gets turned on. As the motor runs it emits an a sound. The frequency of this sound is going to be different depending on the RPM of the motor. If the drive shaft is not perfectly aligned then it will slow the velocity of the motor down. Now comes the part where the acousitcs come into play. If the motor is not aligned and thus spinning slower than it should, the frequency that the sound of the 'hum' of the motor is going to be different in some way than if it were spinning at the max RPM. We want to use matlab to take in the signal from a microphone recording the hum of the motor, store the frequency of the signal and then tell you if the motor's dirveshaft is aligned. That doesn't seem to be too hard. Infact I KNOW how to do that. Where the problem comes in is the professor running the course wants me to make a GUI for the program(script) I'm creating in MATLAB. I must use either MATLAB or LabView. I have no experience with LabView so I'll probably go with MATLAB. But I have no real experience using MATLAB's GUI editer or making GUIs in general.

b4codes is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Forty-six years ago today (6)
Is It Just Me? (3006)
The disrespect of Obama by Russian .. (46)
Laptop with wireless problem. (12)
Wireless Televisions. (12)
CPU fan stops spinning randomly (11)
Regular Build (11)
Internet Lost (5)
windows 7 problem (7)
windows vista security holes (14)
Point and Shoot Camera Suggestions. (6)
Is the PSU I received dead? (13)
radeon x850xt platinum & shader.. (6)
HIS HD5770 graphic card question (15)
Recent Discussions
Laptop with wireless problem. (12)
Open With ..... Win7 (2)
Internet Lost (5)
Skillsoft Network+ Study Software Que.. (9)
Help getting around port 80 for camer.. (3)
virus blocking exe. files (1)
windows vista security holes (14)
Point and Shoot Camera Suggestions. (6)
CPU fan stops spinning randomly (11)
Nvidia GTX 260 problem (1)
Modern Warfare 2: Who Bought It? (65)
Is the PSU I received dead? (13)
Print spooler problem (16)
Kingston Bluetooth Dongle Driver (1)
Multiple Restarts Required at Boot (3)
webcam (0)
upgrade for hp a6101 (0)
tv not turn on-makes clicking sound (2)
EVGA 9800 gtx help with finding a goo.. (11)
Regular Build (11)
Help with onclick and buttons (0)
Virus advise (8)
My monitor won't turn on after instal.. (1)
Dept. of HS: NSA 'Helped' Develop Vis.. (16)
Ideal cheap graph card for PC-Gaming? (18)


All times are GMT -4. The time now is 01:48 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28