Solved


Scrabble Scores - 12
This problem builds directly off of Scrabble Scores - 10. Here, you are provided an existing word on the board from which you wi...

4 years ago

Solved


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

4 years ago

Solved


Implement str2cell
You are given a String that is equivalent to a cell array of scalars or vectors. Transform this String to its equivalent Cell ar...

4 years ago

Solved


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

4 years ago

Solved


Travel time
Calculate the time (in hours) it takes a car traveling at a given uniform speed of s km/hour to travel a distance of d km. For i...

4 years ago

Solved


Amicable pair
Amicable numbers are two different numbers such that the sum of the proper divisors of each is equal to the other number. For e...

4 years ago

Solved


Chain multiplication - 03
Following up the problem in 55305, you found the minimum number of multiplications needed to multiply a chain of matrices. In ...

4 years ago

Solved


Find the remainder - 02
Given an array of integers, find the remainder when the summation of all the elements is divided by N

4 years ago

Solved


Fun with matrix
Design a sample matrix as given in the test cases

4 years ago

Solved


Connect Four - 01
Connect four is a two player board game. <https://en.wikipedia.org/wiki/Connect_Four> Given a complete connect-four board,...

4 years ago

Solved


Congruent
Given two numbers, check whether they are congruent to each other or not for a particular value N.

4 years ago

Question


Replacing Arrays and Matrices
Is it a good idea to overwrite an array with matrix? For example - y=(1:20); y=y'*y; Or over-writing matrix/array with a sin...

4 years ago | 2 answers | 0

2

answers

Solved


Quaternions to Rotation Matrices
Given a matrix of Quaternions (along the rows), output a 3D matrix of Rotation Matrices.

4 years ago

Answered
How to transform a vector into a binary matrix with row constraint ?
From the apparent relation between v and the required matrix - v=[1,4,3,2]; y=zeros(sum(v),numel(v)); z=1; for i=1:numel(v) ...

4 years ago | 1

| accepted

Answered
Please tell me how to erase meaningless lines from graphs!
There is repetition in your data, 1st and Last row are the same. %plot upto 2nd last row plot(data(1:end-1,1),data(1:end-1,2))...

4 years ago | 0

| accepted

Solved


Identify prime words

4 years ago

Answered
How to make a matrix from trace of the original matrix ?
Building on your approach - Breaking the matrix into smaller matrices and assigning the diagonal sums to the corressponding elem...

4 years ago | 1

| accepted

Solved


Partial pivoting for Gauss Elimination
Write a function to implement partial pivoting for Gauss elimination, given the pivot element.

4 years ago

Solved


Forward Elimination for Gauss Elimination
Perform forward elimination for a given pivot column in the augmented matrix, Ab=[A,b]

4 years ago

Solved


Modular multiplicative inverse
Modular multiplicative inverse is used for _The Chinese Remainder Theorem_ and _RSA algorithm_. You can visit <http://en.wikiped...

4 years ago

Answered
How to rearrange columns in a MATRIX?
x=[1 2 4 4 5 6; 3 4 6 6 7 8; 3 4 5 6 6 7;4 5 6 8 7 8]; y=[reshape(x(:,1:2:end),[],1) reshape(x(:,2:2:end),[],1)]

4 years ago | 0

| accepted

Solved


Lagrange Interpolation
Given a set of measurements of dependent variables in a vector, Y, that vary with one independent variable in a vector, X, calcu...

4 years ago

Solved


Polynomial Interpolation
Given a set of measurements of dependent variables in a vector, Y, that vary with one independent variable in a vector, X, calcu...

4 years ago

Solved


Sequence
Let S be a sequence of numbers Let Find for some , where and . Update - test suite cleaned up on 2-9-22

4 years ago

Answered
Plot with points as hollow circles without line through them
One way is to color the inside of the marker white. %random data x=0:0.1:2*pi; plot(x,sin(x),'o-', 'MarkerFaceColor', 'w')

4 years ago | 2

| accepted

Solved


Connect Four Win Checker
<http://en.wikipedia.org/wiki/Connect_Four Connect Four> is a game where you try to get four pieces in a row. For this problem, ...

4 years ago

Answered
To extract the last sub string from strings
You can use extractBetween with index of last space character and the common denominator at the end of the string ('EP') load i...

4 years ago | 0

| accepted

Load more