GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Multiplying a MIMO `TransferFunction` by `1.0` multiplies by a matrix of ones, not identity · Issue #1075 · python-control/python-control

Multiplying a MIMO TransferFunction by 1.0 multiplies by a matrix of ones, not identity #1075

New issue
Copy link
New issue
Copy link
Closed
#1078
Closed
Multiplying a MIMO TransferFunction by 1.0 multiplies by a matrix of ones, not identity#1075
#1078
Copy link

Description

@sdahdah
sdahdah
opened on Dec 5, 2024
Issue body actions

Multiplying a MIMO TransferFunction object by the Python float 1.0 appears to multiply it by a matrix of ones, rather than the identity matrix. The same goes for any scalar. Is this the intended behaviour? I checked in the documentation and didn't see anything.

Example:

import control

G = control.TransferFunction(
    [
        [[87.8], [-86.4]],
        [[108.2], [-109.6]],
    ],
    [
        [[1, 1], [1, 1]],
        [[1, 1], [1, 1]],
    ],
)

I = control.TransferFunction(
    [
        [[1], [1]],
        [[1], [1]],
    ],
    [
        [[1], [1]],
        [[1], [1]],
    ],
)

print(G)
print(1 * G)
print(I * G)

Activity

  1. murrayrm
    linked a pull request that will close this issuefix issue with multiplying MIMO LTI system by scalar #1078on Dec 7, 2024
  2. slivingston
    closed this as completedin #1078on Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.