photo

Tomohiko

MathWorks

Last seen: 10 dagar ago Active since 2012

Followers: 0   Following: 0

Statistics

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

View badges

Feeds

View by

Answered
importしたstlファイルのモデルの法線ベクトルを求める方法
stlreadと faceNormal が使えるかと思います。 ヘルプ、検索機能もご活用ください。

ungefär 3 år ago | 1

Answered
重複ありの順列のパターンを列挙した行列を作る方法
1ベースの4進数を1から4^8-1まで並べるという考えで、次の方法はどうでしょうか? double(dec2base(1:(4^8-1),4))-double('0')+1

mer än 3 år ago | 0

| accepted

Solved


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

mer än 4 år ago

Solved


Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...

mer än 4 år ago

Solved


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

mer än 12 år ago

Solved


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

mer än 12 år ago

Solved


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

mer än 12 år ago

Solved


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

mer än 12 år ago