Community Profile

photo

Naz


The University of Texas at Austin

80 total contributions since 2011

Contact

Contributions in
View by

Question


Decreasing simulation runtime in Simulink
My simulation runs slow and I believe it is not because of slow computer or extensive calculation. May be it's just the conditio...

12 months ago | 0 Answers | 0

0

answers

Question


Displaying image in Simulink using pixel stream
I am trying to display stream of pixels in Simulink. To start with, I create a 2D array, where the first column contains integer...

12 months ago | 1 Answers | 0

1

answer

Answered
detect square in image
I just thought of an alternative idea. Instead of detecting a square, you should register the image (filled form) of interest wi...

3 years ago | 0

Question


32bit matlab on 64bit platform can not open .jpg
I installed a 32-bit student MatLab version on Win7 64Bit. When I try to import an image.jpg, it complaints about the endian sig...

4 years ago | 2 Answers | 0

2

answers

Question


Hi/Low analog output to USB
Hi, I am trying to use MatLAB script as an on/off switch. In simple words, I wish to set a constant output of ~0V (low) or ~5...

4 years ago | 3 Answers | 0

3

answers

Question


2D filter design tool
I wish to find a gui interfaced filter design tool that I could upload an image and see how it changes while changing filter pol...

4 years ago | 0 Answers | 0

0

answers

Question


Convert grayscale to RGB
I wish to convert a grayscale image to RGB where I would have color-to-black scale instead of white-to-black scale. Let's say I ...

4 years ago | 2 Answers | 0

2

answers

Question


How to save matrix to workspace instead of plotting using imagesc function
I don't understand how _imagesc_ function works (scales), but my images plotted using via that function look better than using _...

4 years ago | 1 Answers | 0

1

answer

Answered
How many ways to determine signal frequency?
I would recommend you to start from Wiki and read a little about each topic to get a general idea of how the methods apply. Reg...

5 years ago | 1

Answered
return of function
Let's say your function will have a name myFunction. As I understood, you want to pass a parameter to this function and get two ...

5 years ago | 0

Answered
Need some help with the MatLab GUI
Since you already have your algorithms written, just create a new GUI and drug three buttons and one axis on the form. Automatic...

5 years ago | 0

Answered
Edge Detectors
I would recommend you to try out all and see which one works better in your case. I had to do it once and I applied edge enhance...

5 years ago | 0

| accepted

Answered
plot histogram without using matlab hist() function
It depends on how you want to bin your data and what kind of data you have. The idea of hist function is similar to stacks of c...

5 years ago | 1

| accepted

Answered
divide audio signal into frames
If you know for sure that your signal is 2 seconds long, then the sampling frequency can be found from dt*N=2, where dt=1/fs is ...

5 years ago | 1

| accepted

Answered
Reading data from text box
Yes. However, as soon as the button function is executed, your N is deleted. If you want to keep the data in memory, you should ...

5 years ago | 2

| accepted

Answered
Bug about saving a variable
x=2; yourfile='name.mat'; %saves in the current directory save yourfile x load yourfile Strange... I don't get an err...

5 years ago | 0

Answered
Delay using Cross correlation
The output of xcorr is an array of values of how one array is similar to the other. The maximum value is when two arrays match t...

5 years ago | 0

| accepted

Answered
Convolution
First of all, this f=8000; b=8; is useless information because it will be rewritten anyway below, unless this ...

5 years ago | 1

| accepted

Answered
Convolution, discrete time (not using conv)
just implement the equation http://en.wikipedia.org/wiki/Convolution#Circular_discrete_convolution and use sum from 1 to N ins...

5 years ago | 0

Answered
load matlab file to current workspace
_uigetfile_ gets the path, not the data. Before saving you need to load your file. Thus, use function _load_ and give it the pat...

5 years ago | 1

| accepted

Answered
simple problem
Your code is correct: the 'for' loop makes a copy of the first column of matrix a. Is it that what you wanted to do? You have to...

5 years ago | 0

Answered
3D graphs with 3 variables function as Z
x=[1:10]; y=[1:10]; z=rand(1,10); plot3(x,y,z)

5 years ago | 0

Answered
Break statements still result in the first condition breaking array element being shown - how can it be stopped from being generated?
As far as I understand, you don't care weather you reach the end of the A array or not. As soon as you hit the fist value that i...

5 years ago | 0

Answered
Hiding text of a string (like passwords)
See if this will help http://blogs.mathworks.com/pick/2007/10/05/masking-typed-passwords-with-asterisks/

5 years ago | 0

| accepted

Answered
Writing a function (.m executable) - how do I perform tasks on my workspace variables?
pass your blah matrix as an argument to your function: yourfunction(blah1,blah2);

5 years ago | 0

Answered
Ask User to Continue
Set the infinite loop. I did not check if this code runs, but the idea is this: while(1) %%your code here m=input('...

5 years ago | 0

| accepted

Answered
Colormap Grid
I would make a 2D matrix with 1000 rows and 10 columns and the color in each of 1000*10 squares would represent the relative mag...

5 years ago | 0

Answered
Sum of numeric string.
I hope you realize that computer has finite memory and can not run it forever to reach your infinity, so you gonna have to stop ...

5 years ago | 0

Answered
Plotting in GUI
1) Drug two axis objects onto the gui 2) Double click on each and change the tag property name to Force and angle resepctively.

5 years ago | 0

Answered
How to create a movie and play it instead of using a for loop of plots
Here is what I use. Don't know if it will work as is, but first it should play it (as a sequence of frames of 3D matrix DATA) an...

5 years ago | 0

Load more