Solved


Rotation Matrix to Quaternion
Given a rotation matrix, convert it to a quaternion. Quaternion

4 years ago

Answered
HOW DO I INSERT INPUTS USING GUI?
Here is a very simple example. function GUI() %write a statement in each of the input boxes gui = figure('MenuBar','none','Na...

4 years ago | 0

Answered
Adding text on the graph
Look at text command and num2str text(x,y,num2str(correlationCoefficient))

4 years ago | 0

Solved


Find Excess 3 code of given decimal number.
Find Excess 3 code of given binary number. <http://en.wikipedia.org/wiki/Excess-3/ Excess-3> In XS-3, numbers are represe...

4 years ago

Solved


Do operation as per given string
Do operation as per given string Example: '3*5' then answer must be 15; '3+5' then answer must be 8; '35' then answer ...

4 years ago

Solved


Matlab Basics II - Velocity of a particle
A particle is moving in space, such that it's velocity is given by: <<http://s30.postimg.org/5rf1xtvj5/cody1.png>> write a...

4 years ago

Solved


Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

4 years ago

Solved


Matlab Basics - Switching Assignments
Switch assignments for variables x and y, for example start with x = 1 and y = 3 end with y = 1 and x = 3 Do NOT simply r...

4 years ago

Solved


Matlab Basics II - Determine if an array has a 3rd dimension
For an array A, determine whether it has 3 dimensions, return 0 if x is only 2D, and 1 if x is 3D

4 years ago

Solved


Find the efficiency

4 years ago

Answered
Create a heatmap from x and y values
t=table(edf_n.x,edf_n.y); heatmap(t,'Var1','Var2');

4 years ago | 0

Answered
Unable to create a function to map cost and slope of a Digital elevation map
maxSlope=tand(15); s=linspace(-2*maxSlope,2*maxSlope,100); C=s; C(abs(s)>+0&abs(s)<=maxSlope)=abs(s(abs(s)>+0&abs(s)<=maxSlop...

4 years ago | 0

Solved


Magical Land
Mother Earth has gifted humanity a magical land to help all life on earth, in the shape of a n-sided regular polygon. You, bein...

4 years ago

Solved


Easy Sequences 68: Factorial Rectangles
I'll celebrate my comeback to Cody with this one easy problem... ---------------- The rectangle below is special: ...

4 years ago

Answered
Code to input function
Plotting would not be a problem, but finding all the roots is a problem. Recommend looking at fzero a=input('Function (example:...

4 years ago | 1

Solved


Generate Bernoulli polynomials
The Bernoulli polynomial is a polynomial of order with the properties that and for , where the prime denotes differentiat...

4 years ago

Solved


Chain multiplication - 05
Following up on the problem in 55305, you found the optimal way of multiplying a chain of matrices. In problem 55315, you had t...

4 years ago

Answered
How to use logical operator in syms?
if (double(L1)<0) V1=0; elseif 0<double(L1)&&double(L1)<=0.02 V1=L1^2*0.1/(2*0.02) else V1=0.1*(L1^2-0.02/2) e...

4 years ago | 0

Answered
Index location of certain dates with find and a loop
[~,idx]=ismember(TargetDates,t_list);%only provides first occurance

4 years ago | 0

Answered
How to replace double values into an array with NaN?
new_points_90 = load('new_points_90.mat').new_points; new_points_140 = load('new_points_140.mat').new_points; d=pdist2(new_poi...

4 years ago | 0

| accepted

Solved


Which Char Array has the greater decimal value
Given to character arrays, determine which array has the greater decimal value. 'Hello' --> 72 + 101 + 108 + 108 + 111 = 500 ...

4 years ago

Answered
I am currently getting the error: Index exceeds number of array elements.
Change symbolic to double for comparison. Below works. for index = 1:1:1001 if index < double(w3) gammastar1(inde...

4 years ago | 0

| accepted

Answered
How to assign the first element of each cell in a cell aray using a matrix
for k=1:10 for m=1:20 A{k,m}=randi(10,1,randi(15));%generate sample A cell array end end B=zeros(size(A)); ...

4 years ago | 0

Solved


increasing sequences
Given a string of digits, insert commas to create a sequence of strictly increasing numbers so as to minimize the magnitude of t...

4 years ago

Solved


Force and Motion 2
Two robots are pulling on an object in opposite directions. One robot pulls with a force of F1 Newtons and the other with a forc...

4 years ago

Solved


Solutions to Generalized Pell Equation or Quadratic Diophantine
The generalized Pell equation is of the form: . Given D and N as inputs, output the first 50 positive integer solutions [x, y] s...

4 years ago

Problem


Solutions to Generalized Pell Equation or Quadratic Diophantine
The generalized Pell equation is of the form: . Given D and N as inputs, output the first 50 positive integer solutions [x, y] s...

4 years ago | 0 | 4 solvers

Solved


Convert Periodic Continued Fraction to Fractional Radical Representation
Every periodic continued fraction can be prepresented by a number of the form where p, q, and d are all integers with d>0, , an...

4 years ago

Problem


Convert Periodic Continued Fraction to Fractional Radical Representation
Every periodic continued fraction can be prepresented by a number of the form where p, q, and d are all integers with d>0, , an...

4 years ago | 0 | 3 solvers

Answered
Fastest way to cross reference two tables
It would help if you attached your data. gp=sortrows(table2array(grid_points)); f=sortrows(table2array(forces)); idx=ismember...

4 years ago | 0

| accepted

Load more