Community Profile

photo

Naz


The University of Texas at Austin

Attivo dal 2011

Statistiche

  • 3 Month Streak
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer

Visualizza badge

Content Feed

Visto da

Domanda


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

oltre 7 anni fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 7 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 10 anni fa | 2 risposte | 0

2

risposte

Domanda


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

oltre 10 anni fa | 3 risposte | 0

3

risposte

Domanda


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

oltre 10 anni fa | 0 risposte | 0

0

risposte

Domanda


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

quasi 11 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 11 anni fa | 1 risposta | 0

1

risposta

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

oltre 11 anni fa | 1

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

oltre 11 anni fa | 1

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

| accettato

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

oltre 11 anni fa | 3

| accettato

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

oltre 11 anni fa | 4

| accettato

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

oltre 11 anni fa | 2

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 1

| accettato

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

oltre 11 anni fa | 1

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 1

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

Risposto
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/

oltre 11 anni fa | 0

| accettato

Risposto
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);

oltre 11 anni fa | 0

Risposto
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('...

oltre 11 anni fa | 5

| accettato

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

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

oltre 11 anni fa | 0

Carica altro