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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

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

más de 7 años hace | 2

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 0

| aceptada

Respondida
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

más de 7 años hace | 0

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

más de 7 años hace | 0

| aceptada

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

más de 7 años hace | 1

| aceptada

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

más de 7 años hace | 0

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

más de 7 años hace | 0