Answered
Vectorized iterative summation of matrices
What is wrong with using a loop? Why do you think it is going to be slower? a=eye(10); a(1,1)=0; a(end,end)=0; b = [1 2 3; 4...

4 years ago | 0

Solved


Two fractions, one sum
Given a positive number x, write a MATLAB script that will tell you how many ways that the reciprocal of that number can be writ...

4 years ago

Solved


The Answer to Life, the Universe, and Everything
A variation of a previous Hitchhiker's Guide to the Galaxy problem. *Inputs:* Life, the Universe, and Everything *Output:*...

4 years ago

Solved


Count the Number of Undirected Cycles in a Graph
Given a symmetric adjacency matrix, determine the number of unique *undirected* cycles. For example, the graph represented by...

4 years ago

Solved


Count the Number of Directed Cycles in a Graph
Given an asymmetric adjacency matrix, determine the number of unique *directed* cycles. For example, the graph represented by...

4 years ago

Submitted


Galois Counter Mode (GCM) Block Cipher using AES
Encrypt/Decrypt a plaintext message using AES GCM.

4 years ago | 1 download |

0.0 / 5
Thumbnail

Solved


Matrix Generation.
if input n =1, generate a matrix y = [1]

4 years ago

Solved


find the relation...
if given input is 1, output is 4. if input is 55, output is 3136.

4 years ago

Solved


Find the Connecting Path
Here is a matrix x x = [7 6 8 5 7 2 4 5 1 3 0 0 0 7 7 7 7 7 0 0 0 0 0 0 0 0 0 0 0 5 5 5 5 5 0 0 0 0 0 0...

4 years ago

Solved


Return the sequence element III
This problem is related to <http://www.mathworks.com/matlabcentral/cody/problems/42832-segmented-number-sequence Problem 42832>....

4 years ago

Solved


Segmented number sequence
Given a positive integer, n, and a row vector, x, of positive integers, return a row vector, v, which is a sequence of length n ...

4 years ago

Solved


Number construction I
Given a positive integer, n, return a, b, c and d, such that 1. n = a*sqrt(b)+c*sqrt(d) 2. a, b, c and d are all positive ...

4 years ago

Solved


Number construction III
Given a positive integer, n, return a, b and c, such that 1. n = a^1.5+b^2.5+c^3.5 2. a, b and c are all positive integers...

4 years ago

Solved


Return the sequence element II
Given positive integers x and n, return a positive integer, y, which is the nth term in the <https://en.wikipedia.org/wiki/Juggl...

4 years ago

Solved


Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

4 years ago

Solved


Get factory-defined property values
Given a property name (e.g. 'AxesUnits', 'LineMarkerSize', 'UicontrolBackgroundColor'), return the factory-defined value for tha...

4 years ago

Solved


Find the coefficients for numerical integration using Simpson's rule
For using numerical integration using Simpson's rule, we need some coefficients to be determined first. Suppose the n is the nu...

4 years ago

Answered
I need the commands to do this questions please
x=[ 1.6 2 2.5 3.2 4 4.5]; f=[ 2 8 14 15 8 2]; F=spline(x,f,2.8);

4 years ago | 1

| accepted

Answered
How to convert 1x64 uint64 to 1x1 array ?
a=randi(8,64,1)-1; n=dec2bin(a,3);

4 years ago | 0

Answered
Adding a new column of differences to a table
[T array2table([0,0;diff(T{:,{'B','C'}})],'VariableNames',{'diffB','diffC'})];

4 years ago | 0

| accepted

Solved


find the logic,easy one
find the logic behind, example x=18 y=306 x=53 y=2756

4 years ago

Solved


lb to kilogram
convert lb to kilogram units, easy

4 years ago

Solved


Ounces to Kilograms
convert ounces to kilograms, easy

4 years ago

Solved


currency converter
given a rate of exchange calculate the equivalent units of 100 USD

4 years ago

Solved


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

4 years ago

Solved


Check if two matrices are permutations of each other
Your function should return true for the elements of one matrix is the permutation of the other matrix: x = [1 2 3; 4 5 6; ...

4 years ago

Solved


Reverse digits of a number
Reverse digits of a number. For example, return *321* for the input *123* . The left-hand zeros can be discarded. For exam...

4 years ago

Answered
double integration of torsional function
syms x h y; eqn=x^3-h*x^2-3*x*y^2+4*h^3/27-h*y^2; I=4*int(int(eqn,y,0,(2*sqrt(3)*h-3*sqrt(3)*x)/9),x,0,h/3);

4 years ago | 1

| accepted

Solved


Sales Prediction
Miss X is a shopaholic person and every weekend she goes to a mall. There are total of 10 shops. Miss X starts from shop #1 and ...

4 years ago

Solved


Back to basics - array operations
Without performing actual arithmetic operations on arrays, return feasibility of operation as true or false. True if given opera...

4 years ago

Load more