error: plotRefl: A(I): index out of bounds; value 1 out of bound 0

How to use openEMS. Discussion on examples, tutorials etc

Moderator: thorsten

Post Reply
effexzi
Posts: 8
Joined: Sun 07 Oct 2018, 09:34

error: plotRefl: A(I): index out of bounds; value 1 out of bound 0

Post by effexzi » Mon 08 Apr 2019, 09:28

Hello Everyone,

I simplified the msl_notchfilter example - a simple transmission line - and ran it. It is in the attached file.

When I try to use plotRefl to create a smith chart, I get:
*******************************************************************************************
error: plotRefl: A(I): index out of bounds; value 1 out of bound 0
error: called from
plotRefl at line 120 column 9
*******************************************************************************************

I've tried calling plotRefl as follows:
a. plotRefl(port)
b. plotReft(port{1})

Both of these generate the error and do not return a result.

I'd appreciate info on how to get around this. Thanks.

Regards,
Eff
Attachments
msl_notchfilter_A04.m
(2.94 KiB) Downloaded 107 times

Post Reply