<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Matlab Forum RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest threads from the 'Matlab' forum at Programmer's Heaven, excluding replies.</description>
    <language>en</language>
    <copyright>Copyright 2009 Programmers Heaven</copyright>
    <pubDate>Fri, 03 Jul 2009 21:18:25 -0700</pubDate>
    <lastBuildDate>Fri, 03 Jul 2009 21:18:25 -0700</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>find corresponding y coordinates</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393264/393264/find-corresponding-y-coordinates/</link>
      <description>I will try to explain what I am trying to do in more detail.&lt;br /&gt;
&lt;br /&gt;
Basically I have a binary image (attached) and I would like to plot a parabola across the min  y's for x=20:300 for example.&lt;br /&gt;
&lt;br /&gt;
But there are several values at y=1 in the binary image at x=200 for example.&lt;br /&gt;
&lt;br /&gt;
I did it point by point the following way but its not practical for 200 points.&lt;br /&gt;
&lt;br /&gt;
x1=125;&lt;br /&gt;
x2=120;&lt;br /&gt;
x3=115;&lt;br /&gt;
x4=110;&lt;br /&gt;
x5=105;&lt;br /&gt;
x6=100;&lt;br /&gt;
x7=95;&lt;br /&gt;
x8=80;&lt;br /&gt;
x11=75;&lt;br /&gt;
x12=70;&lt;br /&gt;
x13=65;&lt;br /&gt;
x14=60;&lt;br /&gt;
x15=55;&lt;br /&gt;
x16=40;&lt;br /&gt;
x17=35;&lt;br /&gt;
&lt;br /&gt;
[y1]=find(I(:,x1));&lt;br /&gt;
[y2]=find(I(:,x2));&lt;br /&gt;
[y3]=find(I(:,x3));&lt;br /&gt;
[y4]=find(l(:,x4));&lt;br /&gt;
[y5]=find(I(:,x5));&lt;br /&gt;
[y6]=find(Il(:,x6));&lt;br /&gt;
[y7]=find(I(:,x7));&lt;br /&gt;
[y8]=find(I(:,x8));&lt;br /&gt;
[y11]=find(I(x11));&lt;br /&gt;
[y12]=find(I(:,x12));&lt;br /&gt;
[y13]=find(I(:,x13));&lt;br /&gt;
[y14]=find(I(:,x14));&lt;br /&gt;
[y15]=find(I(:,x15));&lt;br /&gt;
[y16]=find(I(:,x16));&lt;br /&gt;
[y17]=find(I(:,x17));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
y1=min(y1);&lt;br /&gt;
y2=min(y2);&lt;br /&gt;
y3=min(y3);&lt;br /&gt;
y4=min(y4);&lt;br /&gt;
y5=min(y5);&lt;br /&gt;
y6=min(y6);&lt;br /&gt;
y7=min(y7);&lt;br /&gt;
y8=min(y8);&lt;br /&gt;
y11=min(y11);&lt;br /&gt;
y12=min(y12);&lt;br /&gt;
y13=min(y13);&lt;br /&gt;
y14=min(y14);&lt;br /&gt;
y15=min(y15);&lt;br /&gt;
y16=min(y16);&lt;br /&gt;
y17=min(y17);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once I have the points I use p=polyfit(xcoord,ycoord,2) to draw the parabola which is pretty straightforward.The only problem I am facing is to get the corresponding minimum y coordinates for given larger range of x.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Best regards, &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393264/393264/find-corresponding-y-coordinates/</guid>
      <pubDate>Fri, 03 Jul 2009 18:13:35 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Finding the corresponding y coordinates in a binary image matlab</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393224/393224/finding-the-corresponding-y-coordinates-in-a-binary-image-matlab/</link>
      <description>Hi everyone, &lt;br /&gt;
&lt;br /&gt;
Just wanted to know if there is a way to do this...&lt;br /&gt;
&lt;br /&gt;
I have a binary image, an I would like to find the min corresponding y coordinates for a given range , say x=120:200;&lt;br /&gt;
&lt;br /&gt;
[y1]=find(image(:,x1));&lt;br /&gt;
y1=min(y1);&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I can do it manually for up to 10 coordinates but is there any way i can do it for a range of x values.&lt;br /&gt;
&lt;br /&gt;
I tried the following:&lt;br /&gt;
&lt;br /&gt;
x = 120:380';&lt;br /&gt;
[y1]=find(image(:,x));&lt;br /&gt;
y=max(y);&lt;br /&gt;
&lt;br /&gt;
But I am getting an error every time...&lt;br /&gt;
&lt;br /&gt;
Any suggestions would be greatly appreciacted.&lt;br /&gt;
&lt;br /&gt;
Many thanks, &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393224/393224/finding-the-corresponding-y-coordinates-in-a-binary-image-matlab/</guid>
      <pubDate>Thu, 02 Jul 2009 21:19:57 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>matlab  help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393086/393086/matlab--help/</link>
      <description>any one help me&lt;br /&gt;
i not getting images&lt;br /&gt;
my code:&lt;br /&gt;
im=imread('123.jpg');&lt;br /&gt;
imshow(im);&lt;br /&gt;
row=sum(im')';&lt;br /&gt;
plot(row);&lt;br /&gt;
&lt;br /&gt;
but i am getting image 123,but i am not getting the row matrix  i plotted.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393086/393086/matlab--help/</guid>
      <pubDate>Tue, 30 Jun 2009 23:19:19 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Mathlab Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393085/393085/mathlab-help/</link>
      <description>Hello sir,&lt;br /&gt;
&lt;br /&gt;
I saw this useful page in net when i was searching for mathlab help. Sir, i have been using mathlab software for image processing. And now im having a problem when i recieve a task on drawing lines according to pixels. For example:&lt;br /&gt;
&lt;br /&gt;
From   To   Number of pixels&lt;br /&gt;
  1     2       2&lt;br /&gt;
  1     5       3&lt;br /&gt;
&lt;br /&gt;
line 1 is connected to line 2 with a line which consist of no. of pixels 2&lt;br /&gt;
line 1 is connected to line 5 with a line which consist of no. of pixels 3&lt;br /&gt;
&lt;br /&gt;
sir, i have a problem in starting the source code for line connection. can u show me on how to come out with the source codes.&lt;br /&gt;
i will give a try with ur starting help to finish my task&lt;br /&gt;
&lt;br /&gt;
thank you sir&lt;br /&gt;
Good Day&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Lina&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393085/393085/mathlab-help/</guid>
      <pubDate>Tue, 30 Jun 2009 22:28:25 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>AR:Autoregressive Estimation Model</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/393069/393069/arautoregressive-estimation-model/</link>
      <description>Hi Dear&lt;br /&gt;
i am new to estimation modeling. i want to start from simple estimation model. i got a real data for time series of 18 values as mentioned below.i want to use Yule-Walker AR Estimator. i can get the [a,e] straight from a = aryule(x,p);[a,e] = aryule(x,p)or [a,e,k] = aryule(x,p), but i dont know how to further develop the programe and estimate next 11 values in time domain. my in put data is as following: &lt;br /&gt;
&lt;br /&gt;
x=[0    0.3286    0.2775    0.1168   -0.0902   -0.2620   -0.3311   -0.2701 -0.1030    0.1049    0.2720    0.3328    0.2634    0.0908   -0.1176   -0.2804 -0.3340   -0.2575];&lt;br /&gt;
&lt;br /&gt;
 can i request some one to help/guide me in developing the programme, please.&lt;br /&gt;
&lt;br /&gt;
kind regards&lt;br /&gt;
&lt;br /&gt;
Naveed&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/393069/393069/arautoregressive-estimation-model/</guid>
      <pubDate>Tue, 30 Jun 2009 11:11:31 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Problem with Transparency</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392995/392995/problem-with-transparency/</link>
      <description>Hello all, &lt;br /&gt;
&lt;br /&gt;
I'm having a problem, would like to know if someone can help me. &lt;br /&gt;
I have a GUI that plot in the same axes plenty of plots. I'm constructing a vector to create a polygon, to use the patch function and show the desired area of the plot this way. &lt;br /&gt;
&lt;br /&gt;
But the problem is, when I use transparency one of the lines that I have plotted simply disappear. When the facealpha is 1 (opaque), I don't have this problem. &lt;br /&gt;
&lt;br /&gt;
Any idea how can I solve it? &lt;br /&gt;
&lt;br /&gt;
Code I'm using:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Grey;"&gt;patch(X_Vector, Y_Vector, 'r') &lt;br /&gt;
h= findobj(gca, 'Type', 'patch'); &lt;br /&gt;
set(h,'LineWidth',1.15) &lt;br /&gt;
set(h,'FaceColor', 'r', 'EdgeColor', 'r', 'facealpha', .22); &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
thanks in advance! &lt;br /&gt;
&lt;br /&gt;
greets, &lt;br /&gt;
Leonardo&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392995/392995/problem-with-transparency/</guid>
      <pubDate>Mon, 29 Jun 2009 05:23:10 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>pixels</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392932/392932/pixels/</link>
      <description>i dont know how to do this: i need to fill all pixels with white color that are higher of some value like 50.any help.what command anything that will help&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392932/392932/pixels/</guid>
      <pubDate>Sat, 27 Jun 2009 03:08:14 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>willing pay for help setup the simulink program!!pls contact me</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392911/392911/willing-pay-for-help-setup-the-simulink-programpls-contact-me/</link>
      <description>pls contact me on my email alviss_cheah@yahoo.com.sg for this i will pay $200...any question can send a email to ask me...thx your help&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To derive the following model curve using Matlab / Simulink using the following variables:&lt;br /&gt;
&lt;br /&gt;
Aorta Diameter during Diastolic, AoD=23.22 mm&lt;br /&gt;
Aorta Diameter during Systolic, AoS =25.22 mm&lt;br /&gt;
Systolic Pressure, PS=133 mmHg&lt;br /&gt;
Diastolic Pressure, PD=81 mmHg&lt;br /&gt;
Stroke Volume, SV=52 ml&lt;br /&gt;
Ejection Time, ts =0.29 ms&lt;br /&gt;
Pulse Pressure, PP=PS-PD = 133 – 81 = 52&lt;br /&gt;
AorticStrain=(AoS-AoD)*100/AoD = 8.6133&lt;br /&gt;
AorticStiffness=[log(PS/PD)]/[(AoS-AoD)/AoD] = 5.7574&lt;br /&gt;
AorticDistensibility=2*AorticStrain/PP = 0.3313&lt;br /&gt;
Heartrate = 1/T = 60/73 = 82.19&lt;br /&gt;
&lt;br /&gt;
Aim: &lt;br /&gt;
The model should output curves of similar shapes, but with different variables input, the graph should be automatically be generated out containing the different details.  &lt;br /&gt;
In short, once the basic simulink model is functional, consecutive inputs with different datas should generate out different curves without making much of a changes to the model.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392911/392911/willing-pay-for-help-setup-the-simulink-programpls-contact-me/</guid>
      <pubDate>Fri, 26 Jun 2009 10:01:00 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Blood Pressure Model</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392908/392908/blood-pressure-model/</link>
      <description>Hi People!! I am wondering if anyone is able to help me generate out a model of an arterial pressure waveform using matlab simulink software, a similar example of such a waveform can be found at : &lt;br /&gt;
&lt;a href="http://www.bmt.tue.nl/opleiding/ogo/0304/3ejaar/3.html5.jpg"&gt;http://www.bmt.tue.nl/opleiding/ogo/0304/3ejaar/3.html5.jpg&lt;/a&gt;&lt;br /&gt;
or&lt;br /&gt;
&lt;a href="http://www.feec.vutbr.cz/EEICT/2004/sbornik/03-Doktorske_projekty/01-Elektronika/09-lahvo.pdf"&gt;http://www.feec.vutbr.cz/EEICT/2004/sbornik/03-Doktorske_projekty/01-Elektronika/09-lahvo.pdf&lt;/a&gt; &amp;gt;&amp;gt;&amp;gt;&amp;gt; similar to that as of Figure 3.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model should output curves of similar shapes, but with different variables input, the graph should be automatically be generated out containing the different details. &lt;br /&gt;
In short, once the basic simulink model is functional, consecutive inputs with different datas should generate out different curves without making much of a changes to the model.&lt;br /&gt;
&lt;br /&gt;
To derive the following model curve using Matlab / Simulink using the following variables:&lt;br /&gt;
Aorta Diameter during Diastolic, AoD=23.22 mm&lt;br /&gt;
Aorta Diameter during Systolic, AoS =25.22 mm&lt;br /&gt;
Systolic Pressure, PS=133 mmHg&lt;br /&gt;
Diastolic Pressure, PD=81 mmHg&lt;br /&gt;
Stroke Volume, SV=52 ml&lt;br /&gt;
Ejection Time, ts =0.29 ms&lt;br /&gt;
Pulse Pressure, PP=PS-PD = 133 ? 81 = 52&lt;br /&gt;
AorticStrain=(AoS-AoD)*100/AoD = 8.6133&lt;br /&gt;
AorticStiffness=[log(PS/PD)]/[(AoS-AoD)/AoD] = 5.7574&lt;br /&gt;
AorticDistensibility=2*AorticStrain/PP = 0.3313&lt;br /&gt;
Heartrate = 1/T = 60/73 = 82.19&lt;br /&gt;
&lt;br /&gt;
Thank you~ =) &lt;br /&gt;
You kind attention would be greatly appreciated.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392908/392908/blood-pressure-model/</guid>
      <pubDate>Fri, 26 Jun 2009 09:15:11 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>binary integer prog with n-dimensional matrices</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392899/392899/binary-integer-prog-with-n-dimensional-matrices/</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I'm working on some binary integer programming problem. For simple problems these are of course easily solved using Matlab's bintprog function. However, my question is whether it is possible to somehow solve binary integer problems with more dimensions?&lt;br /&gt;
&lt;br /&gt;
Of course it is possible to solve the problem by translating it to a one-dimensional problem, e.g. translate [x11 , x12 ; x21 , x22] to [x11 , x12 , x21 , x22], solve using bintprog and then translate back to 2x2. However, does anyone know if there's a more direct solution to this problem in matlab?&lt;br /&gt;
&lt;br /&gt;
Thanks a lot!&lt;br /&gt;
&lt;br /&gt;
Richard</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392899/392899/binary-integer-prog-with-n-dimensional-matrices/</guid>
      <pubDate>Fri, 26 Jun 2009 05:43:51 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>how to accelerate simulink?</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392791/392791/how-to-accelerate-simulink/</link>
      <description>Hello people,&lt;br /&gt;
&lt;br /&gt;
i'm working on simulink with real time camera, i wrote embedded matlab code with loops that run's on the frame matrix and this makes a delay in my real time camera.&lt;br /&gt;
&lt;br /&gt;
do you have any suggestion how to make my webcam processing more live and with less delay.&lt;br /&gt;
&lt;br /&gt;
thanks for your suggestion&lt;br /&gt;
Aviv.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392791/392791/how-to-accelerate-simulink/</guid>
      <pubDate>Wed, 24 Jun 2009 10:08:01 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>how to convert matlab code to simulink?</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392789/392789/how-to-convert-matlab-code-to-simulink/</link>
      <description>Hello people,&lt;br /&gt;
I'm a new user of Simulink.&lt;br /&gt;
i wrote an algo' for pupil detection in matlab, now i want to convert this code to simulink code because i want use my algo on real time camera.&lt;br /&gt;
in my algo i'm using "BWlabel","Edge Detection" of matlab, i know that in simulink there is special blocks of "BWlabel" and "Edge Detection",&lt;br /&gt;
but if i'll use it i'll need to break down my matlab code into a large number of embedded matlab blocks, i'm looking for a way to avoid this action.&lt;br /&gt;
&lt;br /&gt;
thank you for your suggestion,&lt;br /&gt;
Aviv.&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392789/392789/how-to-convert-matlab-code-to-simulink/</guid>
      <pubDate>Wed, 24 Jun 2009 09:53:13 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>small matrix question</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392750/392750/small-matrix-question/</link>
      <description>Sorry for the simplicity of this question. If I have two matrices, one 1000 cells long, the other 4.5 million long. I want to multiple them to create a third matrix 4.5 million cells long, where the first cell of the first matrix multiplies the first 4500 of the second matrix, the second of the first matrix by the next 4500 of the second matrix etc. I am using a for loop but it is taking really long, is there a faster way?&lt;br /&gt;
thanks&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392750/392750/small-matrix-question/</guid>
      <pubDate>Tue, 23 Jun 2009 20:32:53 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>about fmincon</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392610/392610/about-fmincon/</link>
      <description>hello;&lt;br /&gt;
&lt;br /&gt;
I have a problem with the usage of 'fmincon'. I know that the objective function(let's name it objfun) of 'fmincon' should be written explicitly in another m file if i want to find the minimum value of objfun. But now, my objective function inludes for-loop, and the argument, at which i want to implement fmincon, is inclued in the for-loop, i.e. the objfun can't be written explicitly. &lt;br /&gt;
&lt;br /&gt;
What can i do to handle it? do i need to do the program of minimizing myself since fmincon can't deal with it??&lt;br /&gt;
&lt;br /&gt;
Thanks a lot... &lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392610/392610/about-fmincon/</guid>
      <pubDate>Sun, 21 Jun 2009 04:43:15 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>i help your matlab problems</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392442/392442/i-help-your-matlab-problems/</link>
      <description>i am doing matlab projects,problems and assignments. pls check my website to get detailed information about my related works or write me to ask about your problem.&lt;br /&gt;
&lt;br /&gt;
www.matlabexperts.com&lt;br /&gt;
&lt;br /&gt;
serkan@matlabexperts.com</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392442/392442/i-help-your-matlab-problems/</guid>
      <pubDate>Wed, 17 Jun 2009 09:13:23 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>matlab</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392434/392434/matlab/</link>
      <description>ihi..&lt;br /&gt;
ihave problems:&lt;br /&gt;
1. how to plot polynomial function from gui to axes?&lt;br /&gt;
2. can the axes read as image or jpg?&lt;br /&gt;
&lt;br /&gt;
please help me, cz i am beginner in matlab programing &lt;br /&gt;
thank u&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392434/392434/matlab/</guid>
      <pubDate>Wed, 17 Jun 2009 06:59:14 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Program for Newton Raphson Method in Matlab</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392424/392424/program-for-newton-raphson-method-in-matlab/</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
I am trying to solve the following equation by Newton Raphson Method in Matlab&lt;br /&gt;
&lt;br /&gt;
f(x)=Ks*log(x/x0)+x-x0-kt = 0&lt;br /&gt;
&lt;br /&gt;
Where, x varies with time t; and x0 is the value of x at time t=0&lt;br /&gt;
       x0, Ks and k are known constants&lt;br /&gt;
&lt;br /&gt;
I need the values of x at different t values;&lt;br /&gt;
--&lt;br /&gt;
Any help will be highly apriciated.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392424/392424/program-for-newton-raphson-method-in-matlab/</guid>
      <pubDate>Wed, 17 Jun 2009 02:29:39 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Please Help with a Matlab problem</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392410/392410/please-help-with-a-matlab-problem/</link>
      <description>Hi!&lt;br /&gt;
&lt;br /&gt;
I have an exam in a couple of days concerning Matlab, and the teacher gave us a couple of examples. And there is one problem that I have no idea how to resolve it in matlab. If you can, please help me with a solution in Matlab. Thank you in advance. Here is the problem:&lt;br /&gt;
&lt;br /&gt;
"In the attempt of solving the equation of the radiative transfer in semi-infinite atmospheres, the non-lineary equation omega0 = 2k/(log((1+k)/(1-k))) can be found, where the number omega0 is between (0,1) is called albedo. Prove that a fixed omega0, if k is a root, so if -k and that there is only one root k between (0,1). For omega0=0.25,0.50,0.75, find the corresponding pozitive roots."&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392410/392410/please-help-with-a-matlab-problem/</guid>
      <pubDate>Tue, 16 Jun 2009 13:06:38 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Pubmed Help</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392405/392405/pubmed-help/</link>
      <description>Can someone please help me with the syntax in getting a gds file from PubMed into Matlab as an array&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392405/392405/pubmed-help/</guid>
      <pubDate>Tue, 16 Jun 2009 09:17:01 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>edge density</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392404/392404/edge-density/</link>
      <description>i found edges in pictures by using canny method.then found that edge density by using matrix 3×3 and computing pixels.i've got a picture similar to one gotten from canny method.&lt;br /&gt;
on the picture is audience and the field.field is black.audience is somewhat gray.now i need to combine or merge that block of pixels that represents the audince and show how much percentage of the image is audience&lt;br /&gt;
any ideas?heeelp please&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392404/392404/edge-density/</guid>
      <pubDate>Tue, 16 Jun 2009 09:15:43 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>coloring a grid</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392241/392241/coloring-a-grid/</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
I have a bunch of lat/long coordinates that I want to put into a grid that corresponds to a section of coast off a continent.  I need to be able to color the grid (separated into 2.5x2.5 degree cells) based on the number of 'hits' each cell gets (ie if a lat/long coord fits into a cell then that is a hit).&lt;br /&gt;
&lt;br /&gt;
Is there any easy way to do this?   I was thinking just writing a loop that goes through the coordinates and adds one to the appropriate cell in an array representing the grid but I'm lost as to how to graph that.  Being able to impose a coastline on it would be great too (I know matlab has shape files for each continent anyways..)&lt;br /&gt;
&lt;br /&gt;
Thanks in advance for any help.</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392241/392241/coloring-a-grid/</guid>
      <pubDate>Fri, 12 Jun 2009 07:27:17 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>How to read mixed data from a file</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392198/392198/how-to-read-mixed-data-from-a-file/</link>
      <description>How do I read mixed numeric and char data into MATLAB?&lt;br /&gt;
&lt;br /&gt;
I have a file containing one column of data that looks something like this but much longer:&lt;br /&gt;
&lt;br /&gt;
-.3453&lt;br /&gt;
-.4430&lt;br /&gt;
.13499&lt;br /&gt;
A&lt;br /&gt;
.9342&lt;br /&gt;
&lt;br /&gt;
Mixed in with the numbers are these random "A"s. I want to read in the file and replace the "A"s with a number at the same location from a different file.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392198/392198/how-to-read-mixed-data-from-a-file/</guid>
      <pubDate>Thu, 11 Jun 2009 10:05:22 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Femlab</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392153/392153/femlab/</link>
      <description>Hi guys,&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
May I get help in using Femlab?&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
I have a system of reaction-diffusion equations which are&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;pre class="sourcecode"&gt;u_{t}=D_{1} u_{xx}+f(u,v)&lt;/pre&gt;&lt;br /&gt;
&lt;pre class="sourcecode"&gt;v_{t}=D_{2} v_{xx}+g(u,v)&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
I solved it using Femlab for 2D.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
My question is: How can I get animation for both &lt;pre class="sourcecode"&gt;u&lt;/pre&gt; and &lt;pre class="sourcecode"&gt;v&lt;/pre&gt; altogether in one animated graph?&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
I have just got animated graph for only one of them.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Any suggestions will be highly appreciated.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Thank you in advance.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
RainyCloud&lt;br /&gt;
&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392153/392153/femlab/</guid>
      <pubDate>Wed, 10 Jun 2009 14:11:42 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>random Number with different seed.</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/392108/392108/random-number-with-different-seed/</link>
      <description>I am able to generate gaussian random nos. in Matlab using rand; function but I need to change the seed. According to my requirment, c++ code is using &lt;br /&gt;
&lt;br /&gt;
rand((int)time(NULL) + (int)getpid())&lt;br /&gt;
&lt;br /&gt;
How am I going to do this in matlab.&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/392108/392108/random-number-with-different-seed/</guid>
      <pubDate>Tue, 09 Jun 2009 16:14:06 -0700</pubDate>
      <category>Matlab</category>
    </item>
    <item>
      <title>Can Matlab give commands to the Windows command window?</title>
      <link>http://www.programmersheaven.com/mb/ctocplusplustomatlab/391971/391971/can-matlab-give-commands-to-the-windows-command-window/</link>
      <description>(Repetative phrasing, I know, but not redundant :) )&lt;br /&gt;
Hello,&lt;br /&gt;
I'm a bit new to Matlab and programming and I'm curious if I can use a Matlab function or script to give commands to other programs through the Windows command line. The goal is to write a Matlab function (or script, eithe will work I think) that can use the windows command line to operate the NDFD GRIB2 Decoder program. I want to be able to call the function in matlab by giving it the raw GRIB file name, then have the function send the raw file through the GRIB decoder to turn the GRIB info into a text file, then have the function import the text file to Matlab and manipulate the info. I have done each of these steps separately, but I was curious if anyone knows if there is a way to sort of interface Matlab with the command window. I've got Windows XP. &lt;br /&gt;
Thanks! &lt;br /&gt;
-Khiya&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/ctocplusplustomatlab/391971/391971/can-matlab-give-commands-to-the-windows-command-window/</guid>
      <pubDate>Fri, 05 Jun 2009 11:43:11 -0700</pubDate>
      <category>Matlab</category>
    </item>
  </channel>
</rss>