Community Profile

photo

Urvashi


Last seen: ungefär 2 månader ago Active since 2022

Followers: 0   Following: 0

Statistics

All
  • Community Group Solver
  • Introduction to MATLAB Master
  • Solver
  • Thankful Level 2

View badges

Feeds

View by

Solved


NO _________ ALLOWED....
So you're given a sentence where if there is a particular word in the sentence then the output is 1, if it is not there then the...

ungefär ett år ago

Solved


Alternately upper-lower case
Modify the string to alternate between upper and lower case. For example, s='achyuta' output='AcHyUtA' Update - Test case...

ungefär ett år ago

Solved


Make a list string
Given a cell string, produce a string separating the items with spaces and commas and with an 'and' preceding the final item, an...

ungefär ett år ago

Solved


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

ungefär ett år ago

Solved


Determine the length of a string of characters
Determine the length of a string of characters

ungefär ett år ago

Solved


Mode
Find the mode of the vector Assumption: no vector is bimodal Example 1: input=[1 2 3 4 4]; output=4 Example 2: input=[7...

ungefär ett år ago

Solved


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...

ungefär ett år ago

Solved


Back to basics 15 - classes
Covering some basic topics I haven't seen elsewhere on Cody. Return the class of the input variable.

ungefär ett år ago

Solved


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

ungefär ett år ago

Solved


Count number of words in string
Count number of words in string Examples 'hi', answer is 1 'hi hi', answer is 2 'I enjoy cody', answer is 3

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

ungefär ett år ago

Solved


only input
Return the output without writing any code into the function.

ungefär ett år ago

Solved


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

ungefär ett år ago

Solved


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

ungefär ett år ago

Solved


easy problem
Find the last element of the array

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


Converts numbers into characters
Converts numbers into characters

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


to the 2 all elements
to the 2 all elements

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


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

ungefär ett år ago

Solved


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

ungefär ett år ago

Solved


Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

ungefär ett år ago

Solved


MATLAB Basic: rounding IV
Do rounding towards plus infinity. Example: -8.8, answer -8 +8.1 answer 9 +8.50 answer 9

ungefär ett år ago

Solved


MATLAB Basic: rounding III
Do rounding towards minus infinity. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 8

ungefär ett år ago

Solved


MATLAB Basic: rounding II
Do rounding nearest integer. Example: -8.8, answer -9 +8.1 answer 8 +8.50 answer 9

ungefär ett år ago

Load more