[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help eliminating intermediate results
From: |
Fausto Arinos de A. Barbuto |
Subject: |
Help eliminating intermediate results |
Date: |
Thu, 17 Jul 2003 21:09:17 -0600 |
Hello,
Suppose that I do the following:
>> function y = f(x)
y = (2.0/sqrt(pi))*exp(-x*x)
endfunction
>> x = linspace(0,0.01,200)
>> quad ("f", 0, 2.5, 1.0e-6)
I then get this:
y = 0.23652
y = 1.1272
y = 0.0025614
y = 1.0967
y = 0.0049207
y = 0.96097
y = 0.013758
y = 0.68328
y = 0.045522
y = 0.36381
y = 0.14348
y = 1.1283
y = 0.0022382
y = 1.1198
y = 0.0033449
y = 1.0468
y = 0.0079515
y = 0.83699
y = 0.024843
y = 0.51832
y = 0.082322
ans = 0.99959
My question then is: how do I get rid of the undesired intermediate
results of the form "y = ...."? I tried "echo off" and "echo off all" --
to no avail.
I am a Windows ME user.
Thanks a lot for any help!
---Fausto (Octave user since July 15, 2003 :-) )
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.500 / Virus Database: 298 - Release Date: 10/07/2003
- Help eliminating intermediate results,
Fausto Arinos de A. Barbuto <=