photo

Tomohiko

MathWorks

Last seen: 2 giorni fa Attivo dal 2012

Followers: 0   Following: 0

Statistica

All
  • Knowledgeable Level 1
  • First Answer
  • Solver

Visualizza badge

Feeds

Visto da

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

oltre 2 anni fa | 1

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

oltre 3 anni fa | 0

| accettato

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 12 anni fa

Risolto


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

circa 12 anni fa

Risolto


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

circa 12 anni fa

Risolto


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

circa 12 anni fa

Risolto


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

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

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

circa 12 anni fa