Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
what do i do to draw a graph in this run?

Subject: what do i do to draw a graph in this run?

From: raaj kumar

Date: 14 Nov, 2010 01:19:05

Message: 1 of 2

This is what i have so far:

%generating function for cumulative particle size distribution with d50 =
%5, w= 0.45, these are boltzmann parameters

d50 = 5; w=0.45;
d=0:0.01:10;
d500=5.5;
w0=0.45; %initial width distribution
%particle size dist model
kd =700;

n =5;
p =650;

% the basis for a new average and particle distribution is defined by d50s
% aka d50star

if p >115;
    if n>0;
        d50s =exp(-kd*(n^0.4)*(p-115));
    else d50s=0;
    end
end

% size distribution width defined by w

if d50s<0.33;
w= ( 1 + 2.33*d50s)*w0;
else w =(3.4-5.5 * d50s)*w0;
end;

% mean size
d50 = (1-d50s) * d500;
 
%plotting the graph

and thts where im stuk, according to my help function sheet the next part is supposed to be written lyk this:

%plotting graph
[d, f0] = cpsdf (d500, w0);
[d, fN] = cpsdf (d50, w);

I DONT UNDERSTAND THIS!!! is the 'cpsdf' the name of this particulaer example file? what do they mean when they use f0 and fN, as you can see n 5 but N...i have npo idea....what are they trying to get me to do????

Subject: what do i do to draw a graph in this run?

From: NonaHines

Date: 1 Dec, 2010 12:08:40

Message: 2 of 2

One remembers that our life seems to be expensive, but people need money for various stuff and not every man earns big sums money. Hence to get fast <a href="http://bestfinance-blog.com/topics/home-loans">home loans</a> and sba loan will be a correct solution.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us