문제를 풀었습니다


Redefine the Array if the Elements in the Array are Repeating

대략 5년 전

문제를 풀었습니다


Write a function to generate AND operation

대략 5년 전

문제를 풀었습니다


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

대략 5년 전

답변 있음
forループに関する計算速度について
>計算速度はどのくらい早くなるのでしょうか。 単純に、MATLAB上で実行してみました N = 10000000; X = randi(N,[1,N]); tic; for i = 1:N, Y(i) = X(i) ^ 2; end toc; ...

대략 5년 전 | 1

답변 있음
PLEASE HELP!!!! PLOT STEP FUNCTION WITH DEFINED AMPLITUDE
>[y,t] = step(sys,opt); Why must we do smth like that? You don't have to do that. You can choose both way, with [y, t], or with...

대략 5년 전 | 0

| 수락됨

답변 있음
スペクトログラム画像を逐次保存したい。
特定のファイル形式への Figure の保存 - MATLAB saveas - MathWorks 日本 saveas関数を使わない理由はありますか?なければ最後に開いたfigureをsaveas関数でファイルに保存できます。 filename =c...

대략 5년 전 | 0

| 수락됨

문제를 풀었습니다


Flip coins

대략 5년 전

답변 있음
リアルタイムで目を認識して,認識した時にスクリーンショットを取りたい
静止画をPCのフォルダ内に保存する※この回答を適用する場合、前回の回答の適用は不要です Acquire single image frame from a webcam - MATLAB snapshot - MathWorks 日本 イメージをグラフ...

대략 5년 전 | 0

| 수락됨

답변 있음
一つの行をグループ分けすることはできますか?
こんなんでどうでしょう a = logical([0 0 0 1 1 1 1 1 0 0 1 1 1 1 0 0 0 1 1 1 1]); idx = find([diff(a) numel(a)]); %境目のインデックス width = diff...

대략 5년 전 | 3

| 수락됨

문제를 풀었습니다


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

대략 5년 전

답변 있음
I dont know where i was wrong
You are trying to access to variable x's index from 1 (min) to length(x)+4 (max). for i=1:length(x) number = str2num(...

대략 5년 전 | 1

답변 있음
I dont know where i was wrong
Project Euler: Problem 8, Find largest product in a large string of numbers - MATLAB Cody - MATLAB Central (mathworks.com) Ther...

대략 5년 전 | 1

답변 있음
I dont know where i was wrong
Solve Problem - MATLAB Cody - MATLAB Central (mathworks.com) >The large number will be given as a string, 1xn characters. So, ...

대략 5년 전 | 0

답변 있음
リアルタイムで目を認識して,認識した時にスクリーンショットを取りたい
「目を認識した時」=「認識した特徴点(numPts)が10個以上になった時」に、静止画(videoFrame)を別の変数にコピーする処理です。 else detectedFrame = videoFrame; ...

대략 5년 전 | 0

문제를 풀었습니다


Convert any case sentence to Title Case

대략 5년 전

문제를 풀었습니다


Convert the matrix as -

대략 5년 전

문제를 풀었습니다


Flip the matrix as -

대략 5년 전

답변 있음
イメージラベラーを利用して目,口,歯を検出した時に文を表示する方法
上記コメントに記入した通り「認識オブジェクト名(label)に『目』『口』『歯』が含まれているか否かを判定」しました その結果を用いて、『目』『口』『歯』の組み合わせをif-else文で判断しました。 この回答内容はdetect関数への入力画像が1枚の...

대략 5년 전 | 0

| 수락됨

답변 있음
歯を検出後に、if文を使ってメッセージを表示する
何かを検出するプログラムの内容は不明ですが、if文の使用方法については下記のように回答できます。 検出結果が「検出した」と「検出できなかった」の2通りの場合、2の3乗=8通りの組み合わせがあります。 その8通りをそのままif文で愚直に判断していけば、全...

대략 5년 전 | 1

| 수락됨

문제를 풀었습니다


How many trades represent all the profit?
Given a list of results from trades made: [1 3 -4 2 -1 2 3] We can add them up to see this series of trades made a profit ...

대략 5년 전

문제를 풀었습니다


Consecutive Prime Numbers

대략 5년 전

문제를 풀었습니다


print 'Hello W0rld'

대략 5년 전

문제를 풀었습니다


Find if a given sentence is a palindrome
Given a string/character array, return true if the string is a palindrome else returns false. For example: sample_text =...

대략 5년 전

문제를 풀었습니다


Check if a matrix is a palindrome in all directions
Check if a matrix is a palindrome both vertically and horizontally. You function will return *true* for |[1,2,1]| or |[2,7,2;...

대략 5년 전

답변 있음
is my code right ?
Yes, it is.

대략 5년 전 | 0

문제를 풀었습니다


Palindrome numbers
Find the palindrome numbers (two or more digits) from 1 to n where n is the number passed to the function.

대략 5년 전

문제를 풀었습니다


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

대략 5년 전

문제를 풀었습니다


Return fibonacci sequence do not use loop and condition
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: ...

대략 5년 전

문제를 풀었습니다


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

대략 5년 전

문제를 풀었습니다


Sum of first n terms of a harmonic progression
Given inputs a, d and n, return the sum of the first n terms of the harmonic progression a, a/(1+d), a/(1+2d), a/(1+3d),....

대략 5년 전

더 보기