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

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

[Octave-bug-tracker] [bug #45314] Matlab Incompatibility invalid subscri


From: anonymous
Subject: [Octave-bug-tracker] [bug #45314] Matlab Incompatibility invalid subscripted assignment type
Date: Sat, 13 Jun 2015 08:23:32 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26

URL:
  <http://savannah.gnu.org/bugs/?45314>

                 Summary: Matlab Incompatibility invalid subscripted
assignment type
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 13 Jun 2015 08:23:30 AM UTC
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Thomas Dean
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

>From a matlab(?) script found on the web,

octave:306> ###########################################
octave:306> ## this causes an error
octave:306> K = R1/(R1+R2);
octave:307> C = [1:.2:3]*1e-12;
octave:308> for n = 1:length(C)
>     b_array(:,:,n) = tf([K*R2*C(n) K],[K*R2*C(n) 1]);
> end
error: lti: subsasgn: invalid subscripted assignment type
error: called from
    subsasgn at line 41 column 7
error: assignment failed, or no method for '<unknown type> = class'
octave:308> ###########################################

octave:309> version
ans = 4.1.0+




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 13 Jun 2015 08:23:30 AM UTC  Name: mail.m  Size: 1kB   By: None

<http://savannah.gnu.org/bugs/download.php?file_id=34211>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45314>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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