photo

UNK


Last seen: etwa 3 Jahre vor Aktiv seit 2016

Followers: 0   Following: 0

Statistik

All
  • Thankful Level 3
  • Revival Level 1
  • First Answer
  • Solver

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


better than if else conditions
I would like to give a tag to a number based on in which region it lies. I am currently using an if else condition. Wondering if...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to find mutual arrays position of multiple matrices with different length
I have two matrices and I want the corresponding all indices, not just the first one. Here is the example A = ... ...

etwa 6 Jahre vor | 2 Antworten | 0

2

Antworten

Gelöst


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

mehr als 6 Jahre vor

Gelöst


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

mehr als 6 Jahre vor

Gelöst


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

mehr als 6 Jahre vor

Gelöst


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

mehr als 6 Jahre vor

Gelöst


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

mehr als 6 Jahre vor

Gelöst


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

mehr als 6 Jahre vor

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mehr als 6 Jahre vor

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

mehr als 6 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mehr als 6 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Gelöst


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

mehr als 6 Jahre vor

Beantwortet
Solving an integral differential equation using BVP4C
integral(x1,t,tend) = x5 x5dot = -x1 % using fundamental theorem of calculus This solves the problem. http://math.st...

fast 8 Jahre vor | 0

| akzeptiert

Frage


Solving an integral differential equation using BVP4C
I have a set of differential equations of the form: x1dot = x3; x2dot = x2; x3dot = x1; x4dot = x2...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Fsolve convergence when the variables are changing of the order of 1e-3 or less
I am interested in using fsolve to get the initial guess which satisfies a boundary condition in a Boundary Value Problem(BVP). ...

fast 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Estimate the rotation of central axis of a 3D curve
I have N points in [x,y,z] and this kind of takes a spiral shape. Is it possible to find the central axis of such a spiral. Thi...

etwa 8 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Boundary value problem in optimization formulation
I have to solve an optimization problem and it has a boundary value problem(BVP) in it. As we know the BVP takes quite a bit of ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Why does parpool take so long to start up for the first time in a MATLAB session?
You can refer the answer for a similar question asked in stack exchange. <http://stackoverflow.com/questions/17125785/matlabpoo...

mehr als 8 Jahre vor | 0

Beantwortet
doubt to store a array values in for loop ?
Hi Ravi, If you have a row vector as a = 1:1:10 and you want only some entries as a new vector you can do b = a([1:3:10]) ...

mehr als 8 Jahre vor | 2

Frage


Convergence program stuck at a point.
Hi all, Below is the code when I am trying to get convergence of a function by varying a variable which dictates it. The sum ...

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Warning message while using camera calibrator
I am trying to calibrate a camera using Matlab Camera Calibrator. After I select the images, I am getting the following warning ...

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort

Gelöst


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

mehr als 8 Jahre vor

Frage


surface area of a 3D surface
I have data for 3D points and I have made a surface using these points. Is there a way to get surface area of this 3D surface. ...

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort