Answered
find contiguous region with highest values
There may be a nice (but slightly complicated) way of getting the *linear indices* here. The idea is something like this: Get co...

8 years ago | 0

Answered
How to put dates on de x-axis
If each of the values in your vector were to be associated with their corresponding dates, then you could plot them. A simple wa...

8 years ago | 0

| accepted

Answered
What is wrong with my solve function?
Run only the first half of it. x has to be symbolic. if true syms x eqn = sin(x) == 1; solx = solve(eqn,x) ...

8 years ago | 0

Answered
Problem with a function: "??? Undefined function or variable 'x'"
The input argument |*f*| is a symbolic expression. You are probably seeing the error because the variable |*x*| has not been ...

8 years ago | 0

Answered
Combinations of values of array of vectors (of different lengths) but ONLY in order the vectors appear in the array?
If I understand your question right, I think that your problem is one of creating unique combinations out of unequal length vect...

8 years ago | 2

| accepted

Answered
How do I calculate the space betwween left side of the page and the beginning of the text?Similarly how do I calculate the space betwween ending of the text and right side of the page.
Please look into the |ocr| function <http://mathworks.com/help/vision/ref/ocr.html here> and also look into related tools in the...

8 years ago | 0

Answered
How can I plot a complex transfer function with sweeping parameter?
I would suggest that you use as large an upper limit (a very very big number) for R_1 as possible. Also as an observation, I...

8 years ago | 0

| accepted

Answered
How do I plot a periodic square-wave for 10 cycles, 5 cycles in advance of t=0 and 5 cycles to the right of t=0 using a unit step function?
A square wave is more accurately an impulse function (that is also periodic), which is the first derivative of a step function. ...

8 years ago | 0

| accepted

Answered
How can I write both number and text to a file?
The easiest way to do this would be to write the entire line as a string into a text file, something like: x = 'BEGIN 0.00 0...

8 years ago | 0

| accepted

Answered
Hi, I would like to generate a colored screen with a 4
Create a simple GUI with four blocks for the colors. http://mathworks.com/videos/creating-a-gui-with-guide-68979.html

8 years ago | 0

Answered
Writing a switch structure, and i can not get it to display my second response.
The switch case names and the inputs for the switched variable |response| do not match here. The input response from the user is...

8 years ago | 0

| accepted

Answered
Adding 0s and 1s to Bit Data
From what I understand, it sounds like you need to generate a |m| x |n| x |3| matrix and the easiest way might be to simply do a...

8 years ago | 1

| accepted

Answered
How can I save parameter values while using simulated annealing?
Writing values into an external file is possible but you might not be able to open the file or view progress if the file is conc...

8 years ago | 0

Answered
how can i delete special shape in image?
Before you write a (somewhat complicated) piece of code to remove these rectangular areas, the question I would ask is this: Do ...

8 years ago | 0