# stozaki

Attivo dal 2019

Followers: 0   Following: 0

DISCLAIMER: Any advice or opinions posted here are my own, and in no way reflect that of MathWorks.

Programming Languages:
MATLAB
Spoken Languages:
Japanese

All

#### Feeds

Visto da

Risolto

Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

oltre un anno fa

Risolto

ベクトルの値が増加しているかを調べよう
ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...

oltre un anno fa

Risolto

Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

oltre 2 anni fa

Risolto

Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

oltre 2 anni fa

Risolto

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

oltre 2 anni fa

Risolto

The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

quasi 3 anni fa

Risolto

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

oltre 4 anni fa

Risolto

Find max
Find the maximum value of a given vector or matrix.

oltre 4 anni fa

Risolto

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

oltre 4 anni fa

Risolto

Back to basics 3 - Temp Directory
Covering some basic topics I haven't seen elsewhere on Cody. Return a string that is the path to the system's current temp di...

oltre 4 anni fa

Risolto

Back to basics 15 - Benchmark
Covering some basic topics I haven't seen elsewhere on Cody. Return an array of the benchmark values for MATLAB.

oltre 4 anni fa

Risolto

Number of toolboxes?
Return a number equal to the number of toolboxes available to the Cody solvers.

oltre 4 anni fa

Risolto

Return area of square
Side of square=input=a Area=output=b

oltre 4 anni fa

Risolto

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

oltre 4 anni fa

Risolto

oltre 4 anni fa

Risolto

Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

oltre 4 anni fa

Risolto

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

oltre 4 anni fa

Risolto

Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

oltre 4 anni fa

Risolto

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

oltre 4 anni fa

Problema

Find the index of elements in a string vector
In the vector of v, find the index of elements specified by a. v = ["Lion","Koara","Elephant","Snake","Dog","Cat","Camel"]; ...

oltre 4 anni fa | 1 | 34 risolutori

Risolto

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

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

oltre 4 anni fa

Risolto

Create a vector
Create a vector from 0 to n by intervals of 2.

oltre 4 anni fa

Risolto

oltre 4 anni fa

Risolto

oltre 4 anni fa

Risolto

サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例： >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

oltre 4 anni fa

Risolto

oltre 4 anni fa

Risolto

NaN (欠損値) が含まれている行を削除しよう

oltre 4 anni fa

Risolto

ベクトル b にあるスカラ値 a が含まれていれば出力として 1 を返し、含まれていなければ 0 を返すような関数を作成しましょう。 例: a = 3; b = [1,2,4]; スカラ値 3 はベクトル b に含まれていない...

oltre 4 anni fa

Risolto

ゼロでない要素が一番多い行を探そう

oltre 4 anni fa