|
From: | Etienne Grossmann |
Subject: | Re: error: scalar cannot be indexed with . |
Date: | Wed, 1 Sep 2021 07:25:38 -0700 |
Hello,I am trying to run the attached code, but it fails at line 51Input parameters:>> obs(1) = struct('type','fixed','r',2,'phi',pi/4,'pulsePeriod',0.5,'n',400) ;
>> obs(2) = struct('type','free','r',1.5,'phi',pi/4,'pulsePeriod',0.5,'n',400) ;
>> run_Schwarzschild(obs,8,[0 2.5 0 2.5])
error: scalar cannot be indexed with .
error: called from
run_Schwarzschild at line 51 column 10Not sure how to solve this?Lester
----------
We are transitioning to a web based forum
for community help discussions at
https://octave.discourse.group/c/help
[Prev in Thread] | Current Thread | [Next in Thread] |