Community Profile

# A K

Active since 2012

All

#### Content Feed

View by

Question

Finding the area of multiple segments and circles
Hi! I have a set of two data derived from an image, I was able to extract particle coordinates using the hough transform and ...

oltre 4 anni ago | 1 answer | 0

### 1

Question

Am I using the fminsearch correctly?
I don't seem to be converging to the correct value whilst using fminsearch, does anyone know if this layout is correct? ...

circa 5 anni ago | 1 answer | 0

### 1

Question

how do I find the minimum of an implicit equation with symbolic variable
Hi i was wondering how you would solve an implicit equation to determine the value of the symbolic variable when the equation is...

circa 5 anni ago | 1 answer | 0

### 1

Question

How to assign mutliple vectors to matrix diagonals
I have 3 vectors that I want to assign as diagonals to a matrix. Vector A is the center diagonal, Vector B is above the center ...

circa 5 anni ago | 1 answer | 0

### 1

Question

What changes do i need to make so my matrix is not overwritten?
I have the following code it runs fine, note where i=1; i want to change it to i=1:3, but i want to store the individual 3 matri...

circa 5 anni ago | 1 answer | 0

### 1

Question

How can I generate 3 sparse matrices using 2 for loops?
i'm trying to generate 3 tridiagonal sparse matrices using 2 for loops. The first for loop for n=1:3, refers to the number o...

circa 5 anni ago | 0 answers | 0

### 0

Question

While Loop won't work on iteration problem
Hi i don't seem to understand why my while loop doesn't work for my function i've done everything in logical steps: fun...

circa 8 anni ago | 2 answers | 0

### 2

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

oltre 8 anni ago

Question

Stopping my function from doing iteration (infinite while loop)
After achieving the desired result the loop continues, how can i stop this? if truefunction y = mysqrt(x,y0,tol) % this fun...

circa 9 anni ago | 2 answers | 0

### 2

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

circa 9 anni ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

circa 9 anni ago

Estimating the value of pi using a summation through creation of an m.file by using a loop.
why did u create a vector 1:0

circa 9 anni ago | 0

Solved

Given a and b, return the sum a+b in c.

circa 9 anni ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

circa 9 anni ago

Question

Estimating the value of pi using a summation through creation of an m.file by using a loop.
My script is missing something. Perhaps I do not understand the meaning of 'while' or 'for' correctly. But here is my code: ...

circa 9 anni ago | 3 answers | 0