Community Profile

photo

James Browne


Last seen: nästan 4 år ago Active since 2019

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 3
  • CUP Challenge Master
  • Revival Level 1
  • Solver
  • Knowledgeable Level 2
  • First Answer

View badges

Feeds

View by

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

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år ago | 2

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

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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...

ungefär 4 år 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, ...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år 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...

mer än 4 år ago | 0

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

nästan 5 år 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...

nästan 5 år ago | 0

| accepted

Answered
How to extract data set from Image in Matlab
Greetings, I believe you are looking for the color map of the image? If so then the imread() function can be used to get the...

nästan 5 år ago | 0

Answered
I know a certain y1 and I want to find the respective x1.
Greetings, I believe I have a solution to your problem, I wrote a scrip to demonstrate the concept, let me know if this is no...

nästan 5 år ago | 0

Answered
I need to solve an equation which is dependent on another equation and get the required plot. How can i do that?
Solve equation 1, store result in a variable, use said variable as input to equation 2? Here is a quick example~ x = 0:0.1:5;...

nästan 5 år ago | 0

| accepted

Answered
How can i compute the derivative of a signal in an instant of time/sample?
Greetings, Consider the general deffinition of the first derivative, dy/dx. In the continuous realm, dy and dx are infinitely...

nästan 5 år ago | 2

Answered
Multiple combinations of huge data set
Greetings, I would think you are maxing out your memory allocation, considering you have 201 million rows in your result...If...

nästan 5 år ago | 0

Answered
How to Iteratively changed C during Eulers Method ?
Greetings, Have you tried storing the values of c in a vector, in each iteration of the first for loop and the indexing said ...

nästan 5 år ago | 0

Answered
Discrete Fourier series problem
Greetings, Are you sure that you have the right general equation for y? The function looks odd to me, when I consider the gen...

nästan 5 år ago | 0

| accepted

Answered
unable to define local function because it has the same name as the file
I believe the answer is that you can have an entire script be a function, if the file name is something like "solverX" and the f...

nästan 5 år ago | 2

Answered
1) I need a code to determine the intersection points, I have tried '==' is not working, also I would like to know if it is possible to make the grid line look like a graph sheet i.e using Xtick and Ytick
Greetings, I believe I may know what is causing your problem and I might know how to solve it. Consider the following: Al...

nästan 5 år ago | 0

| accepted

Answered
how to do while loops with actual problems
Greetings, I believe I have a solution to your problem. First, let us consider the nature of the problem...We have a certain ...

nästan 5 år ago | 0

Answered
import loop for a files in a folder
Thank you it works greatly to import but the reading part is missed . Every time I will get this error. =-====================...

nästan 5 år ago | 0

Answered
Please i need help, i encountered the error saying In an assignment A(I) = B, the number of elements in B and I must be the same. Please a matlab expert should correct and ddebug thanks.
Greetings When I test your code, I do not get the same errors. It could be that I had to guess where to place the end stateme...

nästan 5 år ago | 1

| accepted

Answered
Wait for complete file transfer before running while loop
Greetings, I am by no means an expert in programming but I had an idea that might be a good workaround. Let's say you don't t...

nästan 5 år ago | 0

Answered
The maximum value assumed by the function on the interval
Greetings, I wrote an example for you which finds the maximum value of f(x) over the specified interval and plots the resuts....

nästan 5 år ago | 1

Answered
Adding columns in a cell
Greetings, I believe I understand what you are looking for so I wrote a script which I think will solve your problem. All you...

nästan 5 år ago | 0

| accepted

Answered
Index exceeds array bounds. Error in PID_optimized (line 14) gc = tf(K(i)*([1 2*a(j) a(j)^2]),[1 0]); %controller transfer fx Gc
Greetings, I believe your problem is on line 10 of your code. On line 10, you redefine K as a single value rather than a vect...

nästan 5 år ago | 0

| accepted

Load more