微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 微波和射频技术 > 天线设计和射频技术 > Plotting - Cadence .csv files to Matlab

Plotting - Cadence .csv files to Matlab

时间:04-07 整理:3721RD 点击:
Hi,

I was struggling how to plot graph between gm vs real(Zin).
I have plotted two different plots. One plot- by varying frequency and current source, plotted a graph between i1 and real(Zin), i1 and imag(Zin) by doing ac analysis.
Another plot is i1 Vs gm, by doing dc analysis.
Now I have to club these two plots. I have saved the table in .csv format.

The first table is the plot of gm Vs i1. Second is plot of i1 Vs real(Zin) and third is i1 Vs imag(Zin).
I want the final plot of gm Vs real(Zin) and gm Vs imag(Zin) and have to show how it varies with frequency too.

I have used importdata function in MATLAB.
For ac analysis graph, the first column is variation of frequency, first row shows the variation of current.
I am not getting how to leave column1 in order to plot gm Vs real(in) for a specific frequency.

I have used syntax like this:

plot_gm = importdata('gm.csv') // This is csv file generated from plot of i1 Vs gm1
plot_real = importdata('real.csv') // csv file generated from plot of f Vs real(Zin) by varying i1 (Parametric variation)
plot_imag=importdata('imag.csv')

Pls help me.



If you have any other methods, let me know.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top