Community Profile

Contact

Top 5% contributor

42 downloads

3 years ago

Can you tell us what you know currently? What projects have you worked on before?

accepted

1

Answered 3 years ago

Hello everyone, I have what I hope is an easy question that I have just been unable to find the answer to: I want to turn on th...

4 Answers

0

Asked 3 years ago

I'm looking at the option of having a pure Java-GUI and calling it from within Matlab. Is there a way to tag a Matlab callback f...

20530 views

Responded 5 years ago

Hello all, I'm building a laboratory program. I have the base (drivers and such) already built in MATLAB. However, I would rath...

Posted 5 years ago

I'm having trouble generating a nice looking triangle wave. Doing the calculation, with what I think is, the proper way results ...

1 Answers

Global variables are often a bad choice when programming. Another option for sharing data through a gui is basing the gui in ...

2

The following will put all elements above your threshold value to 0. [row, col, index] = find( M > threshold); M(i...

Ok, I was able to figure this out on my own after much fiddling. Method 1: 'proper method' The issue here is that the incline...

The following loop will auto fill in C for any size. Keep in mind, do to memory issues, it is always better to try and know the ...

Your code here is counting the number of lines (fgetl), not the number of words. tline = fgetl(fid); i...

A few comments: 1. using global variables, then settings and clearing them is a bad habit to get into. 2. disp(Maze(i,j)); will...

according to the documentation, using imread with a jpeg object results in RGB scale. As in, each pixel is represented by a 3 el...

I don't fully understand what you mean by your question, but I'll take a guess at a solution. function hSelecVarIndCallback(...

You need to give us more information. Probability of outage is based off the probability of error (PoE). PoE is based off of n...

Ok, I have your solution. 1. Your subtract function in the beginning did not return the subtraced matrix. 2. You needed to re...

In the previous question you have a single set (x) that has several elements that you want to link to. In the new problem, yo...

power(10,x)

I'm using 2009b and I was running into a similar issue. I created a class with a timer object and I couldn't cleanup the timer c...

2663 views

Responded 4 years ago

Types of variables don't matter for excel. The issue is more going to be where to put them. Just saying "write variable x fo...

This should work. I can't test it out though. Also, note the comment I made on your main post. Always pre-allocate memory if you...

It looks like parfor sends one variable to each parallel operation, meaning that the variable references must be clear to begin ...

<http://www.mathworks.com/matlabcentral/fileexchange/33816-example-using-a-matlab-class-to-control-a-gui> You can achieve thi...

shorter_data = resample(xData, down_size_factor) down_size_factor should be a whole number. Using 2 will skip every other data ...

1. Your third loop over t is not needed. t isn't even used in your distance calculation. 2. your distance is measured wrong. ...

xcorr adds some padding numbers to either side. I forget how to manually truncate the series to take out the side bands (and I d...

If I understand correctly, you have H as a function of r1, r2, & t. By this, you have 3 partial derivatives, dH/dr1, dH/dr2, &...

I would first recommend sitting down with some paper and figuring out a basic idea of the steps you need to do to convert Dec nu...

What form is your transfer function in? This previous question might help. <http://www.mathworks.com/matlabcentral/newsreade...

All computer based random number generators need a 'seed'. I don't know about Matlab, but this seed, if not provided directly by...

Load more