Imaging
02/24/2016
Image display
-load spine
x and map
-image(x)
shows a spine
.loaded and displayed an image
color map jet
false coloring
colormap (bone) looks like an xray image
colormap (map)
map- 1st column is red, 2nd column is green and 3rd column i

PBL #7
Intention: Provide practic ewith repetitive structures in context of a scenario that can ocur during development of numerical solutions to biomedial problems
Attention: iterative approximation until convergence threshold is reached
logarithm func

Variable names variable=expression
Must begin with a letter
After 1st characters: letter numbers underscore character
Case-sensitive
namelengthmax: 63
mnemrnonic names TempAtSurf
delete variables from workspace: clear
matrix:2D(or greater) every value in

N = [O2]
dC/dt = D*d^2C/dx^2 + N
change in concentration of O2 =
mass diffusivity * graduat of concentration 'spatial location +O2 concentration
dT/dt= &d^2T/dx^x +g/k (heat energy generated or consumed
thermal diffusion
mass diffusion
heat diffusion
und

Intention: important data analysis/statistical concepts
Generate random numbers
Attention: Variance & Standard deviation
Random # generation
PBL #4
Generate 10,000 random#s from a gaussian disribution
mean u=80
std=23.5 *zyBook:6.1
Gaussian/normal/"bel

load file:
>load filename.ext(e.g. data_matrix.mat)
> m=[1 2 3;4 5 nan];
"so that a missing data won't affect the evluation of the dataset.(mean, max, std,.etc.)"
> mean(m)
ans =
2.5000 3.5000 NaN
> nanmean(m)
ans =
2.5000 3.5000 3.0000
concatenate two

Intention:
Do as I say, not as I do.
Element-by-element operators
Being comfortable w/function calls
Attention:
Global function
Array operators
Function
MATLAB wipe out built in function after you rewrite it.(you can overwrite some functions.)
sin=4
clear

Creating & manipulating symbolic variables
Ungraded problem set 10
ZyBook: Chapter 16
y = 2*(x+3)^2/(x^2+6*x+9)
x = sym ('x')
OR
syms(x)
Workspace window
symbolic expression
k=k0*exp(-Q/(R*T)
syms k0 Q R T
No need to deal with .*,./,.
syms P V n R T
ideal

clarification:
disp('Problem 2.1')
2.3
w animal mass
v vital capacity
plot t vs w
Developing coating for a drug eluting stat
- batch of stents -> is the thickness of the coating the same as in previous batches
- (generate a testable hypothesis)
randomly s

Zybooks
6.14
6.15
Signal anaysis(generating, frequency analysis)
BME 130 140 180
Image processing(:)
Basic bio statistics
Curve fitting -> model data w/an equation
e.g.1
linear regression
Quality of the fit
6 data points
6 "fitted" data pts. from y = -3*x

Ungraded problem set #2 uploaded
PBL #2
X=[4 90 85 75
2 55 65 75
3 78 82 79
1 84 92 93]
1). Max value in each column: max(x) -> ans=[4 90 92 93]
2). Row in which 1) occurs? [MaxValEachCol, Rowwith MaxVal]=max(x)
3). Max value in each row: max(x)
4). Colum

System of linear equations
Create system of linear equations from separate equations (i.e., circuit analysis)
Methods to solve systems of linear equations (left-divide, inv function)
Symbolic math
syms
sym
Subs
solve
ezplot
diff
int
Curve fitting
polyfit

BME60B
Winter 2017
Extra Credit 2
Extra Credit 2
Due 21 Mar 2017 at 5:00pm in EEE Dropbox ExtraCredit2.
Turn in a ZIP file containing all M-files required to run your code without error
INSTRUCTIONS FOR SUBMISSION:
You must have one M-file called extracre

OPTIONAL INDIVIDUAL PROJECT
BME 60B
Project 3
Due: 11 Mar 2016, 5:00 PM
(late projects will not be accepted, for any reason)
These projects each are individual projects - you are not allowed to work with anyone
else (not even previous team members).
Pleas

BME60B
7Jan2016DiscussionQuizSolutions
Name:_
1. The equation for the volume of a hollow sphere is:
where ri is the inner radius and ro the outer radius. Write a
set of commands that you would enter into the Command
Window to evaluate this equation. Assig

function [number_of_instances,e_appx] = method_to_appx_e
%eapprox= This functions purpose is to approximate the
%mathematical constant e
K1=100; %K is a random integer I chose to generate the random array
A=randi([1,K1],[1,K1]);% a generates an array of r

BME 60B
6 Jan 2016 Group Practice Problems - Solutions
Problem 1
Create a variable to store the atomic weight of copper (63.55).
> copperAtWt = 63.55
copperAtWt =
63.5500
Problem 2
Identify which name in each of the following pairs is a legitimate MATLAB

CONGRESSIONAL COMMITTEES
want to understand how Congress really works? Then u have to understand the committee system.
IN 1995, Woodrow Wilson wrote The House sits to sanction the conclusions of its committees. It
legislates in its committee rooms; not by

Federal Court
Does the size of a Senators State make a difference in the kind of job he/she does?
Big state Senators (CA, FL, TX) more busy constantly raising donation.
Big state Senators less time for policymaking cause of pressures from constituents & m

Congress
Congress gets little respect.
3 major criteria for evaluation:
1) Representativeness:
Some observation:
- Republican takes majority in the House.
- Women are under-represented in Congress. 80% of the members of the Congress are men.
- Race/Ethnic

p. 384 of Act
Markup
Rule Committee rules
Motion to recommit
Amendments
Cloture votes
How did Obamacare get through?
Health insurance for almost anyone; Failed in 1949, 1962, 1978, 1994;
58 Democratic Senators elected in 2008 - 2 short of supermajority to

Basic questions about financing process:
1. Can rich individuals really buy any elected office they want? (NO)
Give you the ability to draw attention to your campaign but not really contribute to the success.
Campaign contributions are earned money which

American Public Opinion:
Is the American public well informed enough to guide the policies of the U.S government?
Does the lack of public information about issues pose an especially worrisome problem for the conduct
of U.S. foreign policy?
Story of Mike P

The Declaration of Independence, the armed rebellion, the American revolution
Ideas behind the American Revolution: the Britain Parliament defended
its territory with the cost of the colonists' interest in America after the French and Indian War.
The tax

Founding Amateurs?
Experienced founder of America is familiar with self-governing:
George Washington, Thomas Jefferson, Samuel Adams, and John Adams.
Difference in the initiator between the French Revolution
and the American Revolution generate differe

BME60B
Winter 2017
Problem Set 3
Problem Set 3
Due 15 Mar 2017 at 2:00pm in EEE Dropbox ProbSet3.
Turn in a ZIP file containing all M-files required to run your code without error.
If you are working in a group, then only one group member needs to turn in