Community Profile

photo

David


Active since 2013

Followers: 0   Following: 0

Message

.....

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Labelling three axes of moody plot
I've written the following code, which use another function 'Moody', to plot the moody plot. I've plotted it correctly, I think....

10 years ago | 2 answers | 1

2

answers

Question


Sorting data points so x are in ascending order.
I have two vectors x and y and they correspond to a given set of data points. How can I sort x in ascending order while at the s...

10 years ago | 3 answers | 0

3

answers

Question


Cubic Spline Interpolation Given End Conditions.
I'm writing a MATLAB program which accepts 3 inputs x (a vector containing the x values for interpolation), y (a vector containi...

10 years ago | 2 answers | 0

2

answers

Answered
Newton's Method returns complex value.
@A Jenkins. Thanks for that. I'll have a look into that now.

10 years ago | 0

Question


Newton's Method returns complex value.
So, I've written a program that carries out Newton's method. The root of the equation which I am trying to find is approximately...

10 years ago | 2 answers | 1

2

answers

Question


Defining anonymous with other anonymous functions.
Could somebody tell me why the following code returns the following error?? 'Undefined function 'plus' for input arguments of ty...

10 years ago | 1 answer | 0

1

answer

Question


Formatting code to display multiple results.
So, I'd like to alter the following code which I have written (Newton's Method), so that it not only outputs the final approxima...

10 years ago | 1 answer | 0

1

answer

Question


Bisection method not returning any values.
So, I've written the following code for the bisection method, however it doesn't seem to be returning any values. function...

10 years ago | 1 answer | 0

1

answer

Question


Could someone explain how this code works?
So, we were given this as an example of recursion. It's a program that computes the factorial of a given scalar. function ...

10 years ago | 2 answers | 0

2

answers

Question


Matlab returns Inf for 10^1000.
Why is 10^1000 unrepresentable in Matlab?

10 years ago | 3 answers | 1

3

answers

Question


Buying Matlab Student version.
So, my laptop is on it's last legs and could break quite soon. I was just wondering, if I buy the student version of matlab woul...

10 years ago | 1 answer | 0

1

answer

Question


Probability Function of people at a party.
I've recently asked a question about this particular section/piece of code. I've made a bit of preogress but have ran into some ...

10 years ago | 1 answer | 0

1

answer

Question


Checking if sides of triangle are positive and if equality rule is satisfied.
So, I could easily do this using multiple if statements but that seems fairly repetitive. Is there an and or operator in MATLAB ...

10 years ago | 2 answers | 0

2

answers

Question


Probability function of people at a party.
So, you're asked to write a function that computes the probability of two people at a party having the same birthday. The probab...

10 years ago | 1 answer | 0

1

answer

Question


Sum using vectorized commands and colon operator instead of loops.
So, first of all I better say that this isn't a homework assignment. It's a sheet of problems given to us which we can attempt i...

10 years ago | 1 answer | 0

1

answer

Question


Repeating fractional binary to decimal.
Could someone explain to me how to convert the binary decimal (0.1001)2 (repeating) to a decimal in base 10? I know how to do th...

10 years ago | 1 answer | 0

1

answer

Question


Removing entries of vector indexed by odd integer.
So, in a question we've been asked to define a vector "x" which begins at 1.5 and ends at -3.5 with 101 entries in between witho...

10 years ago | 2 answers | 0

2

answers