解決済み


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

5ヶ月 前

解決済み


Number Puzzle - 039

5ヶ月 前

解決済み


Circle : Square

5ヶ月 前

解決済み


Loja de tintas
Faça um programa para uma loja de tintas. O programa deverá receber o tamanho em metros quadrados da área a ser pintada. Conside...

5ヶ月 前

解決済み


Juros Compostos
Faça uma função que receba um capital inicial (C), uma taxa de juros a ser aplicada (i) e um tempo (t) para qual será aplicado o...

5ヶ月 前

解決済み


Matrizes Multiplicaveis
Dadas duas matrizes M1 e M2, verifique se as matrizes podem ser multiplicadas uma pela outra M1 = [1 2 3; 4 5 6] M2 = [7; 8; 9...

5ヶ月 前

解決済み


Opposite task convert string hexadecimal numbers array into array of decimal numbers .
Opposite task convert string hexadecimal numbers array into array of decimal numbers . Example x=[ '208'; '209'; '20A'; ...

5ヶ月 前

解決済み


02 - Vector Variables 5
_eVec_ = _Hello_ ( _eVec_ is a string, which is a vector of characters )

5ヶ月 前

解決済み


Create a square matrix with given conditions
Create a square matrix, M, which should be populated as follows: M = [ n^2 n * (n-1) n * (n-2) ... n * 2 n * ...

5ヶ月 前

解決済み


Number Puzzle - 033

5ヶ月 前

解決済み


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

5ヶ月 前

解決済み


Rotate Matrix Depending on the input
Rotate matrix (CounterClockwise) via 90, 180 or -90 depending on the input Ex. a = [1 2 3; 4 5 6; 7 8 9] b = 90; ...

5ヶ月 前

解決済み


convert between ascii and characters
I have seen multiple problems like this but none of them have a robust test suite associated with them. The first input C is ...

5ヶ月 前

解決済み


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

5ヶ月 前

解決済み


Given the mass and stiffness of an undamped SDOF system, find the natural frequency and the natural period of vibration
Problem Statement Given the mass and stiffness of an undamped SDOF system, find the system's natural frequency in both Hz and...

5ヶ月 前

解決済み


My Problem, Find the square of the horizontal concatenation of the third and fifth elements of a vector.
given the 1x5 vector x, y must be the square of the horizontal concatenation of the third and fifth elements. So, if x = [1 1 1 ...

5ヶ月 前

解決済み


modulus of a number
find the modulus of a given number

5ヶ月 前

解決済み


Find the number of primes less than input
Given an integer n, determine the number of primes less than or equal to n.

5ヶ月 前

解決済み


Alternate elements!
Write a function that combines two lists by alternating the elements, e.g. ['a','b','c'], ['1','2','3'] → 'a1b2c3'.

5ヶ月 前

解決済み


World Cup 2018 Prediction!
Which team will be the winner?

5ヶ月 前

解決済み


Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

5ヶ月 前

解決済み


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

5ヶ月 前

解決済み


Sort complex numbers into complex conjugate pairs
Sort complex numbers into complex conjugate pairs. Example: Input x = [3-6i -1-4i -1+4i 3+6i] Sorted output = [-1 - ...

5ヶ月 前

解決済み


Hemisphere Volume on Top of a Cylinder
This MATLAB function has to calculate the volume of a hemisphere placed on top of a cylinder, given valid inputs. It takes the r...

5ヶ月 前

解決済み


compter le nombre de zéros dans une matrice
écrire une fonction count_zeros qui prend en entrée une matrice M et détermine le nombre de zéros dans une matrice

5ヶ月 前

解決済み


Converter temp 0 to 200 degree C to 4 to 20mA
Converter temp 0 to 200 degree C to 4 to 20mA (It is used in transmitter)

5ヶ月 前

解決済み


Rankine to Celsius Converter
Given input R, degrees Rankine, convert into degrees Celsius.

5ヶ月 前

解決済み


convert binary string to vector!!!

5ヶ月 前

さらに読み込む