### Author Topic: MATLAB ? 2010 ? 2011 ?  (Read 37392 times)

#### hirley0

• Deserved It
• Posts: 3498
##### MATLAB ? 2010 ? 2011 ?
« on: November 13, 2010, 02:29:40 pm »
20101113Total time logged in: 4 days, 22 hours and 39 minutes. read down:

% Day_n=20101112 t_Start=1046 t_End=1050 t_Spent= 4

%who % 2010 matlab ? % what % navigate 101

which dir %% % dir is a built-in function.

which sound % ?_\matlab\toolbox\matlab\sounds\sound.m

dir ?_\matlab\toolbox\matlab\sounds %%% -found splat.mat

% /\/\ /\

cd

pwd

lookfor lookfor
« Last Edit: March 03, 2011, 06:09:26 pm by hirley0 »

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? help
« Reply #1 on: November 13, 2010, 02:32:11 pm »
% Day_n = 20101112 t_Start =  1026 t_End = 1033  Spent =  7
c = computer
load splat, ymin = min(y); ymax = max(y);
if ymin == ymax,  ymax = ymax + 1; end

% Scale y's values between [ymin ymax] onto [-1 1].
slope = 2/(ymax-ymin);
intercept = (ymin+ymax)/(ymin-ymax);
y1 = slope*y+intercept;

savewave('splatv1',y1,Fs);

%%%%%%%%%%%%%%%% /\/\ /\ eXpect changes
« Last Edit: November 13, 2010, 02:36:28 pm by hirley0 »

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? help
« Reply #2 on: November 13, 2010, 02:34:42 pm »

% Day_n =  20101107 t_Start =   1133
%who% let "ME" begin {again
%what% to discribe SOMe "SOUND" ?"ideas"?
%%when% % i use a form over substance approach

% beginning with the following preamble
% s=clock;Day_n=10000*s(1)+100*s(2)+s(3);
% t_Start=100*s(4)+s(5); t_on=60*s(4)+s(5);
% format compact, diary make1.m, Day_n, t_Start

%who%
%what% that gives me a diary of what i did
%%when% plus todays date and the time it took?

demo

clc
%       MATLAB has sound capability {YES i did HAVE?
%       Continue with this demo
%       only if you have sound available. {STILL do in XP
%%% Do you wish to continue? ([y]/n) y clc {{ GUESSING:
%%% M-files in directory ..\matlab\toolbox\matlab\sounds
% Note xP is D: C: this is 98 %%%  splat  laughter  train
%%%       Now in the workspace is vector y,
t = (1:length(y))/Fs;
plot(t,y)
%%% Press any key to continue. {so far so good {{ I guess
sound(y,Fs)
%%%%% Unable to play sound, no MCI compatible wave devices found.
%%% OK at this point in the "DEMO" i am lost as i know not WHY
%%% Press any key to continue. pause

%%%%%
%%which% i end with the following tail
%why% so that i've MADE A COPY called make1.m
%-% i hack it down in size and reNAME it by date
%
% s=clock; t_End=100*s(4)+s(5)
% t_off=60*s(4)+s(5); t_Spent=t_off-t_on
% diary off

%%%%%
%%which%
%why%
%-% t_End =  1141 tSpent = 8diary off

« Last Edit: November 13, 2010, 02:51:14 pm by hirley0 »

#### Triple Zero

• DO NOT ABUSE EXCEPT FOR URGENT FURNITURE MOVING EMERGENCIES
• One-Armed Jizz Moppers
• Deserved It
• Posts: 25360
• Horrible and Sexy Queen of Cheese
##### Re: MATLAB ? 2010 ? help
« Reply #3 on: November 13, 2010, 03:18:26 pm »
I only ever made sound in MATLAB on a Linux system, and it just worked. Am currently also running Linux and don't even have MATLAB installed, so I'm afraid I can't help you further by trying to reproduce the problem.

There's a few other people on the board that are familiar with MATLAB though, so maybe they have an idea?

Another idea is a workaround, if you just want to hear what a certain graph / waveform sounds like. There's a command-line utility called "sox" (http://sox.sourceforge.net/), it's cross-platform and you can run it from the XP commandline "cmd" window. You can use it (among other things) to convert all sorts of sound fileformats to another. Including "raw" sound files, which, afaik, you can produce with MATLAB by saving your sound vector values to a file, making sure they are stored as 16 bit values scaled from -32768 to 32767, in binary format. When you got that, you can use sox to convert it from this raw data to the .WAV format, which you can play with any kind of media player. It's a bit cumbersome, but once you figure it out, you can perhaps script it (I bet MATLAB is able to execute commandline stuff, right?) to make it easier. One tip: if you play the sound and it sounds like an awful screeching fart of whitenoise, you need to change something about the signed/unsigned flag when converting with sox.

Good luck!
Ex-Soviet Bloc Sexual Attack Swede of Tomorrow™
e-prime disclaimer: let it seem fairly unclear I understand the apparent subjectivity of the above statements. maybe.

INFORMATION SO POWERFUL, YOU ACTUALLY NEED LESS.

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? help
« Reply #4 on: November 13, 2010, 04:08:47 pm »
2 ML  SCRIPT

yeah: 8:09
Comprenda'
i've some 'NIx stuff at FAB as the U uses Intel(ese)
I did manage to do what i was after YESterday {took all day
/\/\ /\ thanks for the TIp
« Last Edit: November 18, 2010, 02:15:50 am by hirley0 »

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? help 2011 BROWN {Egg SheLL:
« Reply #5 on: January 06, 2011, 09:15:43 pm »

% d = 20110106 t =  1255
%% dB/dt = n*A^2*B +A*(v*B) % n"magnetic diffusivity"=1/qu
%%% q is "electrical conductivity", u is "permeability"
%%%% v is velocity, B Magnetic field, t time, d delta "change in"
%%%%% A an unexplained character at this time (GREEK}?
%%%% REYNOLDS NUMBER "n*A^2*B" / "+A*(v*B)" ?"ADVECTION TO DIFFUSE"?
%%% SO LETS (um}? carry On:
%%

%first find a "B"
B = 1 %%% B =  1
% next find a dt : ?

%% this is a Very VERY old 0000 and dt was not computed
% END_t =  1257 (dt=2)
« Last Edit: January 06, 2011, 09:17:38 pm by hirley0 »

#### Igor

• Outlandish
• Posts: 235
##### Re: MATLAB ? 2010 ? help
« Reply #6 on: January 06, 2011, 09:52:58 pm »
The triangular character that you're denoting by A is a nabla.
It's a differential operator that acts on each component of a vector in turn:

http://en.wikipedia.org/wiki/Del

(The B and u in your equation are vectors, so they'll each have 3 components.)
Be what you would seem to be - or, if you'd like it put more simply - never imagine yourself not to be otherwise than what it might appear to others that what you were or might have been was not otherwise than what you had been would have appeared to them to be otherwise.

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? help
« Reply #7 on: January 07, 2011, 02:52:37 pm »
20110109 2:41 PM  Soon it will be 5PM Math Hour
-
Their4 its time to atTempt to pick up the B thread {dispite the cold
= =
first regurgated the formula? po/B
ThaT is not the one i'LL use. i'LL use "the divergence of a vector field, or " MayBe?
: : :
WoORking from " the nabla symbol " (Squared) * n"magnetic diffusivity" * B Magnetic field
LoOK4 n="=1/qu" (um}? reciprical of (q is "electrical conductivity", u is "permeability" )
Joke Time the reciprical of QU is Que Me (GiRL) OK so search for those two
? ? ? ?
ALLright i updated my form(diary) over Substance file (0000) .m for the 5 Oclock ?
now lookfor "permeability"? = could not find ?= found instead toolbox\nmm\interact\
so? its back to search the web
/TilT\ "permeability"
the degree of magnetization of a material in response to a magnetic field
http://en.wikipedia.org/wiki/Permeability
http://www.merriam-webster.com/dictionary/permeability

~bt~ electrical conductivity
http://en.wikipedia.org/wiki/Electrical_conductivity

.BB. the deeper one looks the more & more recieps r found
maybe tomorow / maybe not

20110109 durring this period of a very bad cold Magnetism is on HOLD

As U can teLL i'z not to cleaver at these taiLs
Total time logged in: 5 days, 15 hours and 23 minutes.
thank you for the help IT REALLY DOES HELP: /-/Ub' 7:37 AM psT

20110106 10:23 PM / 20110106 6:52 AM
http://en.wikipedia.org/wiki/Orders_of_magnitude_(magnetic_field)

examples of magnetic field B in teslas
microtesla 24 µT strength of magnetic tape near tape head
31 µT strength of Earth's magnetic field at 0° latitude (on the equator)
58 µT (5.8×10^5 T) strength of Earth's magnetic field at 50° latitude
10^3 millitesla 5 mT the strength of a typical refrigerator magnet
One tesla is equal to 10^4 gauss.
« Last Edit: January 10, 2011, 11:17:49 pm by hirley0 »

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? help 20110227
« Reply #8 on: February 27, 2011, 11:37:10 pm »
3:33pm psT mind in a M.mod?

2011 02/27  My search4 Meno (Moon Deno the dynescore)
-
begins by deviding the Moon into two halves Heavy(Near) lite(far)
= =
its assumed its the Far side Next find a broad flat plain ?/?
and compute the dust layer 24e7/24 = 10Ma/period Moon 156 =15.6P
: : :
next guess 100ft/p OR 1.5K of over burden So it should be in a
new falt zone of about those DIMEmentions. Perhaps its best to
STOP aLLready B4 i'v begun? but i'LL search for A Link or 4 anyway
? ? ? ?
http://www.solarviews.com/raw/moon/farside.gif
http://www.bautforum.com/group.php?do=picture&groupid=5&attachmentid=12743

3:35
2011 02/27 10:07 AM (aLL back FuLL):
-
My thoughts retraced the link to ({Past}?):
= =
I'Z not encouraged: So MineD leaps to MooN Tails
For Me the Moon is NEW Was Part of Earth once ("ONE fiftysix")
: : :
the Pacific Basin to be eXact: And therefor ...
ON THE FAR SIDE of the Moon there should be BONES
of EarthThings of the period (old K/T boundry)
? ? ? ?
I used that page to get 156 from. FROM there question sea for
http://en.wikipedia.org/wiki/K%E2%80%93T_boundary (65.5 ± 0.3) Ma
Drumheller, Alberta where erosion has exposed the KT boundary.
/TilT\ my tail of the MooN
THE event ONE MiLLion & 56*10 Thousand years prior Was a pas de
DUO I1npactor(Mass/moon+/-){ICE1} & i2njector(10*M/m){Solid4) I1 hit
Earth Creating Pacific Crater (a knocked out Lunar Chunk from there)
i2 redirected & reshaped Moon into orbit and left the area for Sun
~bt~
the lunar ordit was NOT aligned in the System plane & the realignment
of the orbit \ to === plane is a very gradual event, but does exist
Thus the Tilt of the Earths Axis & the N/S range of the lunar orbit
both change tward lower angles over the 156ma time frame Include Mass
.BB.
best believe What goes up must come down (MooN is No exception)
the Lunar Life time is short, in terms of Gy(24e7){Galatic Orbits}
and the precession of the Equinox is not a circle in the sky but
an ever decreasing spirial. tward SS Axis(90/plane) &it2 is A ?/?

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? 03/03
« Reply #9 on: March 03, 2011, 06:08:22 pm »
Day_n =  20110302 t_Start =  1256
%% returning to matlab
%%% after a long absent
%%%% to reSolve the population QUESTION
%%%%% A QUESTION ABOUT e if i'm correct

e ??? Undefined function or variable e.

pi ans =     3.1416
help pi  PI     3.1415926535897....
PI = 4*atan(1) = imag(log(-1)) = 3.1415926535897....

help imag
help log
help exp  EXP(X) is the exponential of the elements of X, e to the X.
lookfor e

t_Spent =   8
% diary off

http://en.wikipedia.org/wiki/E_(mathematical_constant)

http://en.wikipedia.org/wiki/World_population
Day_n =  20110302 t_Start =  1713
%% ti83 to ml conveersions
%%% of population curves
%%%% to plot the past
%%%%% NOT THE FUTURE

t=1:10;x=t;

a=124; b=-1.97; y=a*x.^b; plot(x,y)

Day_n = 20110302 t_Start =  1730

t=1:10; x=t;  a=124; b=-1.97; y=a*x.^b;

a=337; b=.337; y=a*b.^x; plot(x,y)

a=35.5; b=-19.5; c=284; a*x.^2+b*x+c;

plot(x,y)

t_End =  1750 t_Spent =  20

« Last Edit: March 03, 2011, 06:15:57 pm by hirley0 »

#### Doktor Howl

• Вся ваша база принадлежит нам
• One-Armed Jizz Moppers
• Deserved It
• Posts: 33136
• Horrible Bastard
##### Re: MATLAB ? 2010 ? 2011 ?
« Reply #10 on: March 03, 2011, 06:15:19 pm »
Hirley, you fascinate me.  You are, at least on this board, a man who is capable of expressing what appear to be completely coherent thoughts with utterly no context by which to interpret them.

A properly trained linguist could probably write one hell of a paper on your posts.
I met a traveller from an antique land
Who said: Two vast and trunkless legs of stone
Stand in the desert. Near them, on the sand,
Half sunk, shattered underpance lies,
With blown elastic, and exploded back,
Tell that its sculptor well those passions read
Which yet survive, stamped on these lifeless things,
The hand that mocked them and the heart that fed:
And on the pedestal these words appear:
"My name is Doktor Howl, Spag of Spags:
Look on my ass, ye Mighty, and despair!"
Nothing beside remains. Round the decay
Of that colossal wreck, boundless and bare
The lone and level sands stretch far away.

#### Dysfunctional Cunt

• Deserved It
• Posts: 6270
##### Re: MATLAB ? 2010 ? 2011 ?
« Reply #11 on: March 03, 2011, 07:05:51 pm »
Hirley, you fascinate me.  You are, at least on this board, a man who is capable of expressing what appear to be completely coherent thoughts with utterly no context by which to interpret them.

A properly trained linguist could probably write one hell of a paper on your posts.

After we're all dead and gone some archeologist is going to come across these posts and the answers will be revealed to them....

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 2010 ? 2011 ?
« Reply #12 on: March 04, 2011, 09:54:16 pm »
Hirley, you fascinate me.  You are, at least on this board, a man who is capable of expressing what appear to be completely coherent thoughts with utterly no context by which to interpret them.

A properly trained linguist could probably write one hell of a paper on your posts.

After we're all dead and gone some archeologist is going to come across these posts and the answers will be revealed to them....

(Um}? she does not net hangs out with Lemars on Madagastar?

% d = 20110304 t = 1144
%% Adam Eve Cain & Able
%%% plot of populaion CHART
%%%% with QuarticReg approach
%%%%% to? ManDaBaLL solutions {not my bag

p=[1 2 3 4 3]
t=1:5;plot(t,p)

k=t;plot(k,p,'ob')
axis([0 7 0 7])
hold on

a=-.0833333; b=-10*a; c=-2.916666; d=5.166666; e=-2;
y=a*k.^4+b*k.^3+c*k.^2+d.*k+e;
plot(k,y,'-r')

%%%%% not exactly what i was eXpcting
%%%% however its Mine, My approache to
%%% to? ManDaBaLL solutions {not my ba
%% USe diScreSHion's
% t_End =  1202 t_Spent = 18
% diary off

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 13th March
« Reply #13 on: March 13, 2011, 05:09:19 pm »
REV A

%%%%%%  Day_n = 20110313 t_Start =   1037
%%%%%  in the 12 minute effort
%%%% i used 1/13 (thirteen notes)
%%% clearly the wrong way
%% this time 5 (got it ?
%% to weigh my propaganda

2^(1/12) % ans =   1.0595
a=ans    % a =    1.0595
% fn = f0 * (a)n { hmm?
f0e = 440
n=1:1/11:2
f12= f0e*n
x=1:1/4:2
f5=f0e*x % f5 =   440   550   660   770   880
f0=1000
f50=f0*x % f50 =  1000  1250  1500  1750  2000

% t_End =  1058 t_Spent =   21

% Day_n =  20110313 t_Start =  939
%%%%% my effort to
%%%% MAKE
%%% a scale
%% to weigh my propaganda

2^(1/12) % ans =   1.0595
a=ans    % a =    1.0595
n1 = 440/a
% fn = f0 * (a)n
n=1:12
f0=440
fn = f0 * a.*n  % hopefully
% nopE
% weLL Later out of time B4 i go however this CONcept

Y=2^(1/13) % Y =    1.0548
%% t_End =   951 t_Spent =   12
« Last Edit: March 13, 2011, 06:19:28 pm by hirley0 »

#### hirley0

• Deserved It
• Posts: 3498
##### Re: MATLAB ? 5PM 13th March
« Reply #14 on: March 14, 2011, 01:00:24 am »
SOME WHEN AFTER 5:12
A4  #       B      C     #      D      #      E      F      #      G      #      A
% 440 480    520    560    600    640    680    720    760    800    840    880
440 466.16 493.88
ITS STiLL IN THE FUMBLE STAGE

% Day_n =  20110313 t_Start =   1625
2^(1/12) % ans =   1.0595
a=ans    % a =    1.0595
f0e = 440
n=1:1/11:2
f12= f0e*n

% 440 480 520 560 600 640 680 720 760 800 840 880

f0=500
x=1:1/11:2;
fn=f0*x
x2=1:1/11:2
f2=1000
fx2=f2*x2
% t_End = 1633 t_Spent = 8
« Last Edit: March 14, 2011, 01:15:09 am by hirley0 »