octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63800] Error in executing commands in a scrip


From: Ehsan
Subject: [Octave-bug-tracker] [bug #63800] Error in executing commands in a script
Date: Mon, 13 Feb 2023 13:21:19 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63800>

                 Summary: Error in executing commands in a script
                 Project: GNU Octave
               Submitter: ehsan_t
               Submitted: Mon 13 Feb 2023 06:21:18 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Unexpected Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 7.1.0
         Discussion Lock: Any
        Operating System: Microsoft Windows
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 13 Feb 2023 06:21:18 PM UTC By: Ehsan <ehsan_t>
I have 4 columns of complex numbers called S11, S12, S21, and S22, each of
them being 301*1 matrices. I wrote a very short script to do some manipulation
on them. The following commands work properly when executed in the command
window, but I get a parsing error when trying to run the script.


delta=(1−S11).*(1−S22)−S12.*S21;
Z11_50=50.*((1+S11).*(1−S22)+S12.*S21)./delta;
Z12_50=50.*(2*S12)./delta;
Z21_50=50.*(2*S21)./delta;
Z22_50=50.*((1-S11).*(1+S22)+S12.*S21)./delta;



error: parse error near line 1 
  syntax error
                                                                              
                                                                             
>>> delta=(1−S11).*(1−S22)−S12.*S21;"
            ^








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63800>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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