Answered

Need Help Plotting a Line Over Another Line

Hi, I think I can at least point you in the right direction: The first step is to get the equation for the linear portion of ...

Need Help Plotting a Line Over Another Line

Hi, I think I can at least point you in the right direction: The first step is to get the equation for the linear portion of ...

6 mesi ago | 2

| accepted

Answered

Plotting period using values from a for loop

Hello, I did some modifications to your code and I think I got it most of the way there but it is hard to finish because I am...

Plotting period using values from a for loop

Hello, I did some modifications to your code and I think I got it most of the way there but it is hard to finish because I am...

6 mesi ago | 1

| accepted

Answered

Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.

It is impossible to debug your one line of code because I can't run it on my end due to undefined variables. However, if you cop...

Invalid text character. Check for unsupported symbol, invisible character, or pasting of non-ASCII characters.

It is impossible to debug your one line of code because I can't run it on my end due to undefined variables. However, if you cop...

6 mesi ago | 0

Answered

Element wise conditional evaluation of a function over a meshgrid

Hello, I believe that I have developed a solution for you: a=linspace(1,2,2); b=linspace(1,3,3); [A,B] = meshgrid(a,b) fac...

Element wise conditional evaluation of a function over a meshgrid

Hello, I believe that I have developed a solution for you: a=linspace(1,2,2); b=linspace(1,3,3); [A,B] = meshgrid(a,b) fac...

6 mesi ago | 0

Answered

these code is how to find (the new mortgage values of a house), but I'm having troubles changing it to find (how long it will take to pay off a house).

Hello, I think I have found a solution for you, or at least something close: disp('I can tell you how much you''ll have to pa...

these code is how to find (the new mortgage values of a house), but I'm having troubles changing it to find (how long it will take to pay off a house).

Hello, I think I have found a solution for you, or at least something close: disp('I can tell you how much you''ll have to pa...

6 mesi ago | 1

Answered

How can I loop my code until the loop is satisfied and gives the correct number of iterations.

You are getting the error because the script never breaks out of the while loop. This is because the comparitor in the while sat...

How can I loop my code until the loop is satisfied and gives the correct number of iterations.

You are getting the error because the script never breaks out of the while loop. This is because the comparitor in the while sat...

6 mesi ago | 0

| accepted

Answered

Find Which Row An Element Is Located At.

Hello, I believe I have developed a solution for you by modifying your original code. I moved the entry of the search range val...

Find Which Row An Element Is Located At.

Hello, I believe I have developed a solution for you by modifying your original code. I moved the entry of the search range val...

7 mesi ago | 0

Answered

matlab plot won't fit figure

Hello, I found your problem. It is the "axis equal" commands in the code for the figure 4 plots (3 instances). I donwloaded y...

matlab plot won't fit figure

Hello, I found your problem. It is the "axis equal" commands in the code for the figure 4 plots (3 instances). I donwloaded y...

7 mesi ago | 0

| accepted

Answered

Find value in a matrix

Why not use a loop? You can create one with very little code and you can easily modify it to do whatever you want. For example, ...

Find value in a matrix

Why not use a loop? You can create one with very little code and you can easily modify it to do whatever you want. For example, ...

10 mesi ago | 0

| accepted

Answered

I am getting error in the following code can anyone help and suggest?

I think your problem is here: R(i) = fit(A1',Y(i)','gauss1') you are inputting the vector "A1" but only one value from the vec...

I am getting error in the following code can anyone help and suggest?

I think your problem is here: R(i) = fit(A1',Y(i)','gauss1') you are inputting the vector "A1" but only one value from the vec...

10 mesi ago | 0

Answered

Matlab gives wrong solution of a nonlinear system of equations.

Looks like you have quite a bit going on there. I am not very familiar with doing symbolic maths with MATLAB, but I can tell you...

Matlab gives wrong solution of a nonlinear system of equations.

Looks like you have quite a bit going on there. I am not very familiar with doing symbolic maths with MATLAB, but I can tell you...

10 mesi ago | 0

Answered

Theta gets unsigned value after gradient descent

On line 6, there should not be a comma after "iterations". I think this is preventing your for loop from executing, though it is...

Theta gets unsigned value after gradient descent

On line 6, there should not be a comma after "iterations". I think this is preventing your for loop from executing, though it is...

10 mesi ago | 0

Solved

Triangle sequence

A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

oltre un anno ago

Solved

Is this triangle right-angled?

Given any three positive numbers a, b, c, return true if the triangle with sides a, b and c is right-angled. Otherwise, return f...

oltre un anno ago

Solved

Find a Pythagorean triple

Given four different positive numbers, a, b, c and d, provided in increasing order: a < b < c < d, find if any three of them com...

oltre un anno ago

Solved

Is this triangle right-angled?

Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

oltre un anno ago

Solved

Area of an Isoceles Triangle

An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<http://upload...

oltre un anno ago

Solved

Dimensions of a rectangle

The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

oltre un anno ago

Solved

Side of a rhombus

If a rhombus has diagonals of length x and x+1, then what is the length of its side, y? <<http://upload.wikimedia.org/wikipe...

oltre un anno ago

Solved

Side of an equilateral triangle

If an equilateral triangle has area A, then what is the length of each of its sides, x? <<http://upload.wikimedia.org/wikipe...

oltre un anno ago

Solved

Area of an equilateral triangle

Calculate the area of an equilateral triangle of side x. <<http://upload.wikimedia.org/wikipedia/commons/e/e0/Equilateral-tr...

oltre un anno ago

Solved

Length of the hypotenuse

Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

oltre un anno ago

Solved

Length of a short side

Calculate the length of the short side, a, of a right-angled triangle with hypotenuse of length c, and other short side of lengt...

oltre un anno ago

Answered

Why i get different glcm matrix of the same picture ?

Without seeing the codes that you are using or having access to the image(s) that you are talking about, it is impossible to say...

Why i get different glcm matrix of the same picture ?

Without seeing the codes that you are using or having access to the image(s) that you are talking about, it is impossible to say...

oltre un anno ago | 0

Answered

how to use matlab express the fomula

Hi, I think I have a solution to your problem. It is difficult to determine what kinds of data are the inputs without seeing a s...

how to use matlab express the fomula

Hi, I think I have a solution to your problem. It is difficult to determine what kinds of data are the inputs without seeing a s...

oltre un anno ago | 0

| accepted

Solved

Knight's Tour Checker

Given a matrix a, determine whether or not a legal <http://en.wikipedia.org/wiki/Knight's_tour knight's tour> is present. The kn...

oltre un anno ago

Solved

QWERTY coordinates

Given a lowercase letter or a digit as input, return the row where that letter appears on a <http://en.wikipedia.org/wiki/Keyboa...

oltre un anno ago

Solved

Find the two most distant points

Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

oltre un anno ago

Solved

What is the next step in Conway's Life?

Given a matrix A that represents the state of <http://en.wikipedia.org/wiki/Conway's_Game_of_Life Conway's game of Life> at one ...

oltre un anno ago

Solved

Duplicates

Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

oltre un anno ago