photo

Naz


The University of Texas at Austin

Aktiv seit 2011

Followers: 0   Following: 0

Nachricht

Statistik

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

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

fast 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

fast 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

fast 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

fast 12 Jahre vor | 3 Antworten | 0

3

Antworten

Frage


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

fast 12 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

mehr als 12 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

mehr als 12 Jahre vor | 1 Antwort | 0

1

Antwort

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

fast 13 Jahre vor | 1

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

fast 13 Jahre vor | 1

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 3

| akzeptiert

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

fast 13 Jahre vor | 4

| akzeptiert

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

fast 13 Jahre vor | 2

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 1

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 6

| akzeptiert

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

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

fast 13 Jahre vor | 0

Mehr laden