help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Two small questions


From: Juan Pablo Carbajal
Subject: Re: Two small questions
Date: Sat, 28 Apr 2012 16:12:19 +0200

On Sat, Apr 28, 2012 at 3:55 PM, mr_m <address@hidden> wrote:
> Hi,
>
> I wrote a octave script using some functions and an external program to do
> some calculations on structure formation.
>
> camb;
> inicamb(0, 35); #here I start an extermal programm
> read_in();
> spektrum = spec("cdm", 0, 100);
> sigq = sigmaq(k, transpose(spektrum), ev_wr(100));
> plot(k, spektrum);
>
> I want to supress the output of the rather large matrix spektrum. How can I
> do this?
>
> Second question is about terminal output. I want octave to print the sigq
> after the calculation. But disp(sigq) doesn't work. He simply doesn't print
> anything (except spektrum) after I started the external program.
>
> How can I fix this?
>
> Thanks for your support.
>
> --
> View this message in context: 
> http://octave.1599824.n4.nabble.com/Two-small-questions-tp4594775p4594775.html
> Sent from the Octave - General mailing list archive at Nabble.com.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave

Can you produce an example of your problem that we run?

The code you showed shouldn't produce any output (since all lines end
in semi-colon) unless your functions are printing something.

-- 
M. Sc. Juan Pablo Carbajal
-----
PhD Student
University of Zürich
http://ailab.ifi.uzh.ch/carbajal/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]