解決済み


String Manipulator
Write a script that takes a string as an input and returns a cell array containing – I. the count of vowels. II. Find the ind...

5ヶ月 前

解決済み


Min by mean
Substitute the minimum value in each row of a matrix A by the mean of that row (it should also work if the input is a vector)

5ヶ月 前

解決済み


Number Puzzle - 107
Let a be an integer and b is equal to a+2. Let c be an integer formed by concatenating a and b. Give examples of two unique a fo...

5ヶ月 前

解決済み


Number Puzzle - 082

5ヶ月 前

解決済み


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

5ヶ月 前

解決済み


N-plicate me
Modified version of duplicate and triplicate me. Repeat elements of input vector with given input n Ex: input = [1 2 3 4 5...

5ヶ月 前

解決済み


MATLAB Time Warp – Stabilize the Temporal Lattice by Finding the Dominant Eigenvector of a Time-Distorted Matrix
The Chrono-MAT Engine is malfunctioning. A time-distorted matrix A governs the stability of spacetime. Your mission: determine...

5ヶ月 前

解決済み


Find the shortest distance between a point and a straight line.
Given the Cartesian coordinates of three points A, B and C (in a flat Euclidean space), find the shortest distance between the ...

5ヶ月 前

解決済み


[Master Regular Expression] Vowel-Consonant Score
You are given a string s consisting of lowercase English letters, spaces, and digits. Let v be the number of vowels in s and c ...

5ヶ月 前

解決済み


Fermat's last theorem - again
For a given integer n, express it as a sum of two squares if possible. Return empty matrix otherwise. Solution may not be unique...

5ヶ月 前

解決済み


Selecting books on MATLAB for experts and beginners (blindfolded)
* Imagine you have been blindfolded and asked to pick up any two books randomly from the table. * There are n books suitable f...

5ヶ月 前

解決済み


Given a Polyshape_01 (ps) Return its Perimeter, Area, and Centroid.
Return the perimeter (P) of a polyshape object, which is the sum of the lengths of its boundaries. Return the total area (A) of...

5ヶ月 前

解決済み


Pascal's Pyramid - A Variation with an Arial View
Let's create a matrix of size N x N containing a Pascal's Triangle in each quadrant that diverges from the centre to form an ari...

5ヶ月 前

解決済み


Square Patterns in a square matrix

5ヶ月 前

解決済み


Monty Hall
The classic Monty Hall "Let's Make a Deal" final showcase puzzle pits the contestant against three Doors. Behind one Door are dr...

5ヶ月 前

解決済み


McCabe Complexity
The Challenge is to return the McCabe complexity for various functions. One way to determine the McCabe Complexity is to use ...

5ヶ月 前

解決済み


Create a magic square matrix for a given odd integer
A magic square of size 'N' is a matrix that satisfies the following criterias: # Dimension - NxN # Matrix should contain ALL...

5ヶ月 前

解決済み


Hofstadter Female and Male sequences
The Hofstadter Female (F) and Male (M) sequences are defined as follows Write a function to compute for a given n. See http...

5ヶ月 前

解決済み


Perimeter of a Koch snowflake
A Koch snowflake is an iteratively generated (fractal) shape built out of successively smaller equilateral triangles by followin...

5ヶ月 前

解決済み


Simple spirometer - find your lung capacity from the number and size of soap bubbles in one breath
Assumed that each bubble has practically the same diameter d. Given total number n of bubbles. Find volume v of breath.

6ヶ月 前

解決済み


Write a code to implement the improved Euler's method to integrate a simple function
Euler's method approximates the solution to a differential equation as where . It's possible to improve on Euler's method by ...

6ヶ月 前

解決済み


Upper case and lower case!

6ヶ月 前

解決済み


Capitalized string operations
Convert the input sentence to upper case and replace all vowels with an underscore ('_')

6ヶ月 前

解決済み


Number of Flip Flop required in ripple counter
Find the number of flip flop required in ripple counter. If modulus of counter (N) is given find outnumber of Flip Flop (n) r...

6ヶ月 前

解決済み


Find out characteristics equation of given matrix.
Find out characteristics equation of given matrix. A=[0 2; 1 8] then char. eq is s^2-8*s-2=0 and answer should be [1 -8 -2]

6ヶ月 前

解決済み


Number Puzzle - 038

6ヶ月 前

解決済み


Solve for factorial of X
It gives you the number x, and set y equal to x factorial. Ex. There are 52 cards in a deck, each specific order of all 52 car...

6ヶ月 前

解決済み


Calculate Drag Force
Write a MATLAB function to compute the drag force on an object moving through air: ​ where: D is drag force (N) ρ is air de...

6ヶ月 前

解決済み


Case-insensitive Character Detection
Find the index of a particular character in a string ignoring case. Example Input: x = 'aAbhhfdf' n = 'a' ...

6ヶ月 前

解決済み


basic finance application
i watch bloomberg everyday and i want to estimate a stock price stability, so i have to calculate the momentum & the rate of cha...

6ヶ月 前

さらに読み込む