Luffy
IIT ROORKEE
2012년부터 활동
Followers: 0 Following: 0
I hated programming until I met MATLAB.
Professional Interests: VLSI
Feeds
질문
Interpreting the angle from the angle obtained by atan2 function
Hi, I have two signals(x,y) whose absolute phases i'm calculating by using the atan2 function.Then subtracting both i'm getting...
8년 초과 전 | 답변 수: 1 | 0
1
답변질문
Seperating a vector based on another vector
I have two arrays A & B.vector A has to be separated & processed based on B's vector value.For the length that B's value remains...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
Repeated scalar entries to a gui edit box should be stored in an array/vector format
In my gui,i have a popup menu where the user selects size of array.In the edit box below there is an edit box in which user ente...
거의 9년 전 | 답변 수: 0 | 0
0
답변질문
Writing content in a text file dynamically based on an input variable
I have a text file in which you have the following statements in the middle of text file(there are other statements starting wit...
거의 9년 전 | 답변 수: 0 | 0
0
답변질문
Editing/Changing a text file's content based on input variable
I have a txt file which has the following content in the middle of the text: set TC_SYS_01 0 set TC_SYS_02 0...
거의 9년 전 | 답변 수: 2 | 0
2
답변질문
Plotting data on a 2d plane with colorbar
I have 3 vectors of size 1:100 each(say X,Y,Z).I want to plot it on a 2d plane with colorbar indicating depth. I've tried with ...
거의 9년 전 | 답변 수: 2 | 0
2
답변질문
Change the content in an m-file based on check-box input from gui
Hi, I have a checkbox in my gui based on which i want to make some changes in another m-file & later run it. The format of...
거의 9년 전 | 답변 수: 1 | 0
1
답변질문
HDL Simulation in Modelsim from Matlab
Unlike the many examples & videos listed in my case,i have the entire tcl script in a .do file and it is very long (350 lines).S...
거의 9년 전 | 답변 수: 0 | 0
0
답변답변 있음
how to create a matlab function in simulink?
You have a MATLAB Function block in Simulink.You can place that block in your model & on double clicking it you can write your f...
how to create a matlab function in simulink?
You have a MATLAB Function block in Simulink.You can place that block in your model & on double clicking it you can write your f...
거의 9년 전 | 0
질문
Calling a callback function from another callback in the same Matlab GUI
Hi, I have a callback function of a menu object from which i want to call the callback the function of an edit box.I am calli...
거의 9년 전 | 답변 수: 2 | 0
2
답변답변 있음
Subplot 'super' legend
Have a look at this similar query.You just need to hard code the position of the legend. <http://www.mathworks.com/matlabcent...
Subplot 'super' legend
Have a look at this similar query.You just need to hard code the position of the legend. <http://www.mathworks.com/matlabcent...
거의 9년 전 | 0
| 수락됨
질문
How to read text files from different sub folders in a folder ?
I have a collection of .txt files which are an output of a simulation software.The software puts the text files in different sub...
거의 9년 전 | 답변 수: 4 | 0
4
답변질문
Searching for a variable in a text file & later taking its mean seperating out its units
I have a .txt file which is an output of a simulation software.I want to scan the txt file for a variable & collect that variabl...
거의 9년 전 | 답변 수: 1 | 0
1
답변답변 있음
How can I call external m files as a block in simulink?
I couldn't understand why you couldn't use the Matlab function block. Otherwise,run the external m files & capture the output...
How can I call external m files as a block in simulink?
I couldn't understand why you couldn't use the Matlab function block. Otherwise,run the external m files & capture the output...
대략 9년 전 | 1
답변 있음
search for signal of fixed duration and frequency
Do the fft of the audio signal. You'll get spikes at the frequencies present in your signal. How to do fft: <http://in.mathw...
search for signal of fixed duration and frequency
Do the fft of the audio signal. You'll get spikes at the frequencies present in your signal. How to do fft: <http://in.mathw...
대략 9년 전 | 0
질문
Extracting data from a cell array
Hi, I have a 10 x 1 cell array.Each 1 x 1 cell has 192 bits(binary).So 10 different 192 bit vectors. Now i need to extract bit...
대략 9년 전 | 답변 수: 1 | 0
1
답변답변 있음
Is there a way to get the intersection point between two curves in Matlab?
If you have the equation to two curves,you can find the point manually: if y1 & y2 are their equations: idx = find(y1 - y2...
Is there a way to get the intersection point between two curves in Matlab?
If you have the equation to two curves,you can find the point manually: if y1 & y2 are their equations: idx = find(y1 - y2...
대략 9년 전 | 0
질문
Search a text file for a particular string and then read all values in that line in which string is present into MATLAB
Example: * T-Spice 14.11 Simulation Wed Sep 18 16:08:03 2013 E:\Stuff\Spice\SPICE PROGRAMS\New folder\ckt1\Cktspice.sp ...
거의 11년 전 | 답변 수: 2 | 0
2
답변답변 있음
How to get the value of the edit textbox
Write below code in call-back of push-button x = get(handles.edit1,'String'); %edit1 being Tag of ur edit box if isempty(x...
How to get the value of the edit textbox
Write below code in call-back of push-button x = get(handles.edit1,'String'); %edit1 being Tag of ur edit box if isempty(x...
11년 초과 전 | 4
답변 있음
GUI Question: How can I import a variable/vector/matrix into a GUI I created?
If you want to access data that is in base workspace in your gui functions, use v = evalin('base','name of variable u want to...
GUI Question: How can I import a variable/vector/matrix into a GUI I created?
If you want to access data that is in base workspace in your gui functions, use v = evalin('base','name of variable u want to...
거의 12년 전 | 2
| 수락됨
답변 있음
guidata doesn't save my data, why?
I did not exactly understand,but you can try this method: The data that you want to save in your 1st function,save it to base...
guidata doesn't save my data, why?
I did not exactly understand,but you can try this method: The data that you want to save in your 1st function,save it to base...
대략 12년 전 | 0
| 수락됨
답변 있음
Empty workspace with GUI
Try storing variables in base work space by, assignin('base','name of variable u want to save','value of variable'); To ...
Empty workspace with GUI
Try storing variables in base work space by, assignin('base','name of variable u want to save','value of variable'); To ...
대략 12년 전 | 1
| 수락됨
답변 있음
Matlab Project for Linear Algebra Course
What is M(Y),M(R),M(P) in part B?? For A) part, x = -2.5:0.001:2.5; y = -2.5:0.001:2.5; z = 2*sin(x.*y); plot3(x,...
Matlab Project for Linear Algebra Course
What is M(Y),M(R),M(P) in part B?? For A) part, x = -2.5:0.001:2.5; y = -2.5:0.001:2.5; z = 2*sin(x.*y); plot3(x,...
대략 12년 전 | 0
답변 있음
get children of a figure
get(h,'Children') returns handles of children of current object,current object being figure object. Handles provide the ...
get children of a figure
get(h,'Children') returns handles of children of current object,current object being figure object. Handles provide the ...
대략 12년 전 | 0
질문
Finding who voted your answer
How to know who voted against your answer if any one did vote ?
대략 12년 전 | 답변 수: 1 | 0
1
답변답변 있음
GUI
If you want to access data that is in base workspace in your gui functions, use v = evalin('base','name of variable u want ...
GUI
If you want to access data that is in base workspace in your gui functions, use v = evalin('base','name of variable u want ...
대략 12년 전 | 0
| 수락됨
답변 있음
'For loop' for beginners
sprintf('Enter elements of vector'); % after entering v,run below code for i = 1:length(v) if v(i) > 0 sp...
'For loop' for beginners
sprintf('Enter elements of vector'); % after entering v,run below code for i = 1:length(v) if v(i) > 0 sp...
대략 12년 전 | 1
답변 있음
Create Figure Without Displaying it
If h = figure;set(h, 'Visible', 'off'); % do ur plotting here saveas(h,'figure.png'); You will not see a figure poppin...
Create Figure Without Displaying it
If h = figure;set(h, 'Visible', 'off'); % do ur plotting here saveas(h,'figure.png'); You will not see a figure poppin...
대략 12년 전 | 4
답변 있음
Why the sums of cos(x) over 2*pi range not zero?
In matlab, sin(pi) = 1.2246e-16 The expression sin(pi) is not exactly zero because pi is not exactly π
Why the sums of cos(x) over 2*pi range not zero?
In matlab, sin(pi) = 1.2246e-16 The expression sin(pi) is not exactly zero because pi is not exactly π
대략 12년 전 | 0