필터 지우기
필터 지우기

Is there any way to see the code of pre-loaded programs ??

조회 수: 3 (최근 30일)
Anjireddy Thatiparthy
Anjireddy Thatiparthy 2012년 10월 3일
During my practice i notice the few lines, related to "colormap" function.
load flujet
image(X)
colormap(jet)
How can i read and edit the 'flujet'.
  댓글 수: 1
Anjireddy Thatiparthy
Anjireddy Thatiparthy 2012년 10월 3일
@all
I'm looking for the code of data variables that are present in this software.

댓글을 달려면 로그인하십시오.

채택된 답변

Wayne King
Wayne King 2012년 10월 3일
flujet looks to me to just be a .mat file. It should just be data (an image) and is being loaded in the MATLAB workspace as the variable, X.
If you enter
>> whos X
you will see information about X, its dimension and data type.
  댓글 수: 2
Anjireddy Thatiparthy
Anjireddy Thatiparthy 2012년 10월 3일
Dear Mr. Wayne king
Thanks for ur reply, But i'm looking for code which create this data .
Wayne King
Wayne King 2012년 10월 3일
See Matt J's comments below

댓글을 달려면 로그인하십시오.

추가 답변 (2개)

Matt J
Matt J 2012년 10월 3일
You can also do
whos -file flujet
to see what is stored inside the file flujet.mat
  댓글 수: 2
Anjireddy Thatiparthy
Anjireddy Thatiparthy 2012년 10월 3일
Dear Mr. Matt J
Thanks for ur reply, But i'm looking for code which create this data .
Matt J
Matt J 2012년 10월 3일
편집: Matt J 2012년 10월 3일
Then you should rephrase your Question. Initially, you said you wanted to read/edit flujet.mat. This is obviously unrelated to the code that created flujet.
Aside from that, I don't know how you hope that flujet will carry information about its creator. If I give you an mp3 music file, do you expect it to carry the software that created that mp3 file?

댓글을 달려면 로그인하십시오.


Jan
Jan 2012년 10월 3일
The file "flujet.mat" does not contain information about its creator - usually. You can inspect the contents:
Data = load('flujet')
Now Data contains all variables. Perhaps, if you are lucky, the creating program added a variable like
Data.Creator = 'mips.m, version 1.8, written by Thomas.Moore@Belgium.com'
But this is not very likely.

카테고리

Help CenterFile Exchange에서 Colormaps에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by