Community Profile

photo

Kelly Brown


Last seen: oltre un anno fa Attivo dal 2021

Statistiche

  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver

Visualizza badge

Content Feed

Visto da

Risolto


Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...

oltre un anno fa

Risolto


How many digits are there?
Input(s) - any string Output(n) - number of digits within string s

quasi 3 anni fa

Risolto


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

quasi 3 anni fa

Risolto


Binary numbers
Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

quasi 3 anni fa

Risolto


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

quasi 3 anni fa

Risolto


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


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

quasi 3 anni fa

Risolto


Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

quasi 3 anni fa

Risolto


Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

quasi 3 anni fa

Risolto


String Array Basics, Part 1: Convert Cell Array to String Array; No Missing Values
<http://www.mathworks.com/help/matlab/characters-and-strings.html String array> and cell array are two types of containers for s...

quasi 3 anni fa

Risolto


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

quasi 3 anni fa

Risolto


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

quasi 3 anni fa

Risolto


Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

quasi 3 anni fa

Risolto


Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

quasi 3 anni fa

Risolto


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

quasi 3 anni fa

Risolto


Draw a '0' in a one matrix!

quasi 3 anni fa

Risolto


to the 2 all elements
to the 2 all elements

quasi 3 anni fa

Risolto


the average value of the elements
Calculate the average value of the elements in the array

quasi 3 anni fa

Risolto


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

quasi 3 anni fa

Risolto


Find the max element of the array
Find the max element of the array

quasi 3 anni fa

Risolto


Converts numbers into characters
Converts numbers into characters

quasi 3 anni fa

Risolto


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

quasi 3 anni fa

Risolto


Double all elements in the array
Duplicate all elements in the array

quasi 3 anni fa

Risolto


calculate the length of matrix
input 1 array, calculate the length

quasi 3 anni fa

Risolto


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

quasi 3 anni fa

Risolto


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

quasi 3 anni fa

Carica altro