Community Profile # James Browne

Last seen: circa 2 anni ago Active since 2019

#### Statistics

All
• • • • • • #### Content Feed

View by

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

circa 2 anni ago | 2

| accepted

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

circa 2 anni ago | 1

| accepted

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

circa 2 anni ago | 1

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

circa 2 anni ago | 0

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

circa 2 anni ago | 1

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

circa 2 anni ago | 0

| accepted

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

circa 2 anni ago | 0

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

circa 2 anni ago | 0

| accepted

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

oltre 2 anni ago | 0

| accepted

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

oltre 2 anni ago | 0

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

oltre 2 anni ago | 0

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

oltre 2 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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....

circa 3 anni 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...

circa 3 anni ago

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

circa 3 anni ago | 0

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

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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...

circa 3 anni 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 ...

circa 3 anni 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...

circa 3 anni ago