Open soshiyan opened 4 years ago
The MATLAB codes you need are not part of the gmIDNeoKit. They should be available as part of the Gm ID Starter Kit at https://web.stanford.edu/~murmann/gmid.
Thank you for your response. I saw this site before I emailed you. Unfortunately, I did not find these functions on this website. you are right, I find them now. Can I get help from you if needed? Thanks On Thursday, July 2, 2020, 7:56:14 PM GMT+4:30, fengqz notifications@github.com wrote:
The MATLAB codes you need are not part of the gmIDNeoKit. They should be available as part of the Gm ID Starter Kit at https://web.stanford.edu/~murmann/gmid.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Sure. I would help if I have free time. The book from Prof. Murmann, I believe, covers a lot on the MATLAB code.
If possible, I would like to help with the issues that could improve the gmIdNeoKit and benefit all the users.
Thank you very much for the time that you provided.Best Regards
On Thursday, July 2, 2020, 8:58:02 PM GMT+4:30, fengqz <notifications@github.com> wrote:
Sure. I would help if I have free time. The book from Prof. Murmann, I believe, covers a lot on the MATLAB code.
If possible, I would like to help with the issues that could improve the gmIdNeoKit and benefit all the users.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
Dear Fengqi Zhang I try to Run this code :""% Basic gm/ID design example
% Boris Murmann % Stanford University
clear all; close all; load 180n.mat;
% Specs Av0 = 4; RL = 1e3; CL = 50e-15; Rs = 10e3; ITAIL = 600e-6;
% Component calculations gm = Av0/RL; gm_id = gm/(ITAIL/2); wT = lookup(nch, 'GM_CGG', 'GM_ID', gm_id); cgd_cgg = lookup(nch, 'CGD_CGG', 'GM_ID', gm_id); cdd_cgg = lookup(nch, 'CDD_CGG', 'GM_ID', gm_id); cgg = gm/wT; cgd = cgd_cggcgg; cdd = cdd_cggcgg; cdb = cdd - cgd; cgs = cgg - cgd;
% Pole calculations b1 = Rs(cgs + cgd(1+Av0))+RL*(CL+cgd); b2 = RsRL(cgsCL + cgscgd + CLcgd); fp1 = 1/2/pi/b1 fp2 = 1/2/pib1/b2
% Device sizing id_w = lookup(nch, 'ID_W', 'GM_ID', gm_id) w = ITAIL/2 / id_w "" but I receive this error""Undefined function or variable 'nch'.
Error in test1 (line 13) wT = lookup(nch , 'GM_CGG', 'GM_ID', gm_id);"" in the book it mentioned that ""output = lookup(data, outvar, varargin) where “data” is a placeholder for the Matlab structure containing the 4-dimensional lookup table data (nch or pch)."" I now confused, Is "180n.mat" the same as "nch"? If it is ture why I get this error? I would be very grateful for tips here.
Thank you very much for the time that you provided.Best Regards
You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
You can just load 180n.mat and check the workspace to debug. If 180n.mat is generated using the setting from Prof. Murmann's Gm Id Starter Kit, there should be 'nch' or/and 'pch'.
Thanks, the 180n.mat load in to workspace. I used the 180n.mat file in your site just to test the examine this codes run or not?I chaned the 'nch' to '180n' but the same erroe ocurred. I dont know what I do....qSent from my Samsung Galaxy smartphone. -------- Original message --------From: fengqz notifications@github.com Date: 7/20/20 6:40 PM (GMT+03:30) To: fengqzHD/gmIdNeoKit gmIdNeoKit@noreply.github.com Cc: soshiyan baran.baharvand@yahoo.com, Author author@noreply.github.com Subject: Re: [fengqzHD/gmIdNeoKit] help me plz... (#7) You can just load 180n.mat and check the workspace to debug. If 180n.mat is generated using the setting from Prof. Murmann's Gm Id Starter Kit, there should be 'nch' or/and 'pch'.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/fengqzHD/gmIdNeoKit/issues/7#issuecomment-661063691", "url": "https://github.com/fengqzHD/gmIdNeoKit/issues/7#issuecomment-661063691", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]
I don't think I've uploaded the 180n.mat file. You may get it from the Gm Id Starter Kit.
I guess in order to debug the issue, you can start with the simple examples provided by Prof. Murmann. Your question here is not about gmIdNeoKit.
XTRACT.m
where can I locate the XTRACT.m script or code? Many thanks
Hi... I need MATLAB codes for these functions : (Lookup.m, lookupVGS.m,XTRACT.m, XTRACTVGS.m). I would be so grateful if you access them send me please.