Community Profile

photo

Luffy


IIT ROORKEE

Con actividad desde 2012

I hated programming until I met MATLAB.
Professional Interests: VLSI

Estadísticas

All
  • Knowledgeable Level 3
  • Thankful Level 3
  • Revival Level 1
  • Knowledgeable Level 2
  • First Answer
  • Solver

Ver insignias

Content Feed

Ver por

Pregunta


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...

casi 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Pregunta


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...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Pregunta


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...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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 ...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Pregunta


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...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Resuelto


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

más de 8 años hace

Resuelto


Add two to x
Create a script such that y equals x plus 2

más de 8 años hace

Pregunta


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...

más de 8 años hace | 0 respuestas | 0

0

respuestas

Respondida
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...

más de 8 años hace | 0

Pregunta


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...

más de 8 años hace | 2 respuestas | 0

2

respuestas

Respondida
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...

más de 8 años hace | 0

| aceptada

Pregunta


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...

más de 8 años hace | 4 respuestas | 0

4

respuestas

Pregunta


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...

más de 8 años hace | 1 respuesta | 0

1

respuesta

Respondida
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...

casi 9 años hace | 1

Respondida
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...

casi 9 años hace | 0

Pregunta


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...

casi 9 años hace | 1 respuesta | 0

1

respuesta

Respondida
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...

casi 9 años hace | 0

Pregunta


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 ...

más de 10 años hace | 2 respuestas | 0

2

respuestas

Resuelto


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

casi 11 años hace

Resuelto


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

casi 11 años hace

Resuelto


Try 1.5.4: Celsius to Fahrenheit
Write a program to convert an input given in Celsius to Fahrenheit. Examples: Input celsiusValue = 100 Output fahrValu...

casi 11 años hace

Resuelto


only input
Return the output without writing any code into the function.

casi 11 años hace

Resuelto


Create matrix of replicated elements
Given an input element x, and the dimensions, (m, n) return a matrix of size m x n filled with element x. Example: Input: ...

casi 11 años hace

Resuelto


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

casi 11 años hace

Resuelto


Distance walked 1D
Suppose you go from position 7 to 10 to 6 to 4. Then you have walked 9 units of distance, since 7 to 10 is 3 units, 10 to 6 is 4...

casi 11 años hace

Respondida
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...

más de 11 años hace | 4

Respondida
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...

más de 11 años hace | 2

| aceptada

Resuelto


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

más de 11 años hace

Cargar más