Skip to content

Conversation

@baggepinnen
Copy link
Member

this is convenient in many places where functions that take either systems of gain matrices.

this is convenient in many places where functions that take either systems of gain matrices.
@baggepinnen baggepinnen requested a review from albheim February 7, 2022 08:43
@baggepinnen baggepinnen changed the title make numbers and matrices work as systems for freqresp make numbers and matrices work as systems in freqresp and friends Feb 7, 2022
@JuliaControlBot
Copy link

This is an automated message.
Plots were compared to references. 9/11 images have changed, see differences below.
After pulling this PR, please update the reference images by creating a PR to ControlExamplePlots.jl here.

Difference Reference Image New Image
✔️ 0.003 Reference New
✔️ 0.003 Reference New
✔️ 0.0 Reference New
✔️ 0.001 Reference New
✔️ 0.0 Reference New
✔️ 0.0 Reference New
❌ 0.042 Reference New
✔️ 0.006 Reference New
✔️ 0.011 Reference New

@JuliaControlBot
Copy link

This is an automated message.
Plots were compared to references. 9/11 images have changed, see differences below.
After pulling this PR, please update the reference images by creating a PR to ControlExamplePlots.jl here.

Difference Reference Image New Image
✔️ 0.003 Reference New
✔️ 0.003 Reference New
✔️ 0.0 Reference New
✔️ 0.001 Reference New
✔️ 0.0 Reference New
✔️ 0.0 Reference New
❌ 0.042 Reference New
✔️ 0.006 Reference New
✔️ 0.011 Reference New

@codecov
Copy link

codecov bot commented Feb 7, 2022

Codecov Report

Merging #630 (3f89cb0) into master (6b8e2d0) will increase coverage by 0.02%.
The diff coverage is 100.00%.

❗ Current head 3f89cb0 differs from pull request most recent head de41625. Consider uploading reports for the commit de41625 to get more accurate results

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #630      +/-   ##
==========================================
+ Coverage   86.66%   86.69%   +0.02%     
==========================================
  Files          31       31              
  Lines        3233     3240       +7     
==========================================
+ Hits         2802     2809       +7     
  Misses        431      431              
Impacted Files Coverage Δ
src/matrix_comps.jl 92.99% <ø> (ø)
src/analysis.jl 87.21% <100.00%> (+0.04%) ⬆️
src/freqresp.jl 96.24% <100.00%> (+0.17%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6b8e2d0...de41625. Read the comment docs.

Copy link
Member

@albheim albheim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, also noted that the docstring for freqresp had w -> ... iw*im ... which I assume should be I*w*im? Not really related, just thought I could mention if you wanted to fix.

@baggepinnen baggepinnen merged commit 9f4c32c into master Feb 7, 2022
@baggepinnen baggepinnen deleted the nicer_mats branch February 7, 2022 10:44
Evaluate the frequency response of a linear system
`w -> C*((iw*im -A)^-1)*B + D`
`w -> C*((iw*im*I - A)^-1)*B + D`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was more thinking of the w -> ... iw ... in my comment, I assume this should be w->...w...? I added the I since I thought maybe that is where the iw came from?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But yeah, not really related (and not very important) so can fix it some other time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants