Where is the code of a Matlab Object?

3 ビュー (過去 30 日間)
kale
kale 2023 年 1 月 14 日
回答済み: Bruno Luong 2023 年 1 月 14 日
I'm trying to write code in matlab for a linear equaliser, but I'm struggling and I haven't found any examples online.
However, I have noticed that matlab provides (in the communications toolbox) the comm.LinearEqualizer object.
I don't want to use it because I don't need some sort of function/object to do the work for me... I want to write such a function/script completely from scratch (for loops, variable declarations etc).
My question is: is there a way to see what's inside comm.LinearEqualizer? To see how it works? For example, by opening it (right-clicking) I can't actually find the code that equalises the signal .. no loop .. no calculations etc. Where can I find them? If I could find this code I could take a cue to write my own

回答 (1 件)

Bruno Luong
Bruno Luong 2023 年 1 月 14 日
which comm.LinearEqualizer
/MATLAB/toolbox/comm/comm/+comm/LinearEqualizer.m % comm.LinearEqualizer constructor
If it's mfile contains source code then you can see it.

カテゴリ

Help Center および File ExchangeShifting and Sorting Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by