Answered
累積平均の求め方を知りたいです
piEstAry = []; % 最初に空ベクトルとして初期化しておく for i = 1:5 piEstAry = [piEstAry, i] % 過去の演算値をベクトルに追記していく piEstimate = mean(piEst...

3 years ago | 1

| accepted

Solved


Número Repetido
Dado um número inteiro N, verifique se o número é composto apenas do mesmo inteiro VerificaRepetido(123) = false; VerificaRepe...

3 years ago

Solved


Dice roll - opposite faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

3 years ago

Answered
分類用のシンプルな深層学習ネットワークの作成
先の回答では多分うまく行かないので改めて回答を設けました。 分類用のシンプルな深層学習ネットワークの作成 - MATLAB & Simulink Example - MathWorks 日本 上記はサイズ 28*28 のモノクロ画像である「数字の画像」...

3 years ago | 0

| accepted

Answered
負の値を持つノイズの作成
>負の値を残すにはどのようにすればよいでしょうか? ⇒ 浮動小数点数(singleかdouble)型なら、imnoise関数の様な制約の無いrandn関数でノイズを生成する事が出来ます。 surf(randn(100));

3 years ago | 0

Answered
負の値を持つノイズの作成
>負の値を残すにはどのようにすればよいでしょうか? ⇒ 浮動小数点数(singleかdouble)型なら、0~1に収まる範囲の平均と分散を設定したimnoise関数の結果を調整します。 イメージにノイズを付加 (入力引数 I — グレースケール イメー...

3 years ago | 1

Answered
負の値を持つノイズの作成
>負の値を残すにはどのようにすればよいでしょうか? ⇒ 整数型なら符号有整数型を用います。但しint16型に限られます。 イメージにノイズを付加 (入力引数) - MATLAB imnoise - MathWorks 日本 % I — グレースケール...

3 years ago | 1

| accepted

Solved


Identifying teenager
Suppose the age of a person is given. If he/she is a teenage, answer is 'yes'. Otherwise, the answer is 'no'.

3 years ago

Answered
2つの配列間における数値演算アルゴリズムについて
2 次元の畳み込み - MATLAB conv2 - MathWorks 日本 conv2関数の出力は2次元方向に畳み込んだ結果を全部出力しているので、63*63同士の行列を1次元方向にのみ畳み込みするという事は、下記の結果の中央をスライスした結果になり...

3 years ago | 1

| accepted

Answered
分類用のシンプルな深層学習ネットワークの作成
imageInputLayer([28 28 1]) このCNNの入力層は28*28のグレースケールイメージを受け付けます。先日の質問と逆の('gray2rgb'でなく'rgb2gray')変換が必要です。 画像のイメージサイズは1411*2124*3...

3 years ago | 1

Solved


Distancia Vetores
Dados dois vetores a = (x1, y1) e b = (x2, y2). Calcule a distância entre os vetores e verifique se estão perto (distancia < 10)...

3 years ago

Solved


Determine whether a given point is inside or outside a polygon
A closed polygon may be described by an N x 2 array of nodes, where the last node and the first node are the same. Each row of t...

3 years ago

Answered
AlexNetを用いた転移学習を実装したい
AlexNet を使用した転移学習(事前学習済みのネットワークの読み込み) - MATLAB & Simulink - MathWorks 日本 %> (Alexnetの)最初のイメージ入力層にはサイズが 227 x 227 x 3 の入力イメージが必要...

3 years ago | 1

| accepted

Solved


Zero or hero
A number will be given as an input. You can be hero if it's not zero. (Just for fun)

3 years ago

Answered
二つの数字の引き算
cell 配列の各 cell に関数を適用 - MATLAB cellfun - MathWorks 日本 TT = {datetime(2022,10,24,12,06,29), 33.69, 33.91, 33.92, 33.29; % 6列目以降は...

3 years ago | 0

Solved


Alternative Dimensions
Given a multidimensional matrix, transform the matrix so the dimensions are in the order given by variable ord. For example, giv...

3 years ago

Answered
画像ファイルに番号を順番につけたい。
impath = uigetdir(pwd); % 画像が含まれるフォルダを選択する imds = imageDatastore(impath); % イメージデータストア作成 imds.writeall(impath) % 選択フォルダ内にバックアッ...

3 years ago | 2

| accepted

Answered
Is it possible to plot data from multiple scripts on to a single figure?
You can save the figure into a .fig file by using savefig function. You can also retains plots in the current axes by "hold on"...

3 years ago | 1

Solved


Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81

3 years ago

Answered
ImageDatastore内の画像をtransformを用いてコントラスト変換し表示する方法
動作確認をしていませんが、エラーの原因とimadjust関数のドキュメントを見比べ原因を断定出来ます。 imadjust関数の第1引数に入力可能な「グレースケールイメージ・RGBイメージ・カラーマップ」の内、 imadjust関数の第2引数に入力する ...

3 years ago | 1

| accepted

Solved


Predict Cricket Stridulation Rate from Air Temperature
Stridulation is the process that creates a cricket's “chirp” by rubbing their wings or legs. According to the Old Farmer's Alma...

3 years ago

Solved


Lista Ordenada
Dado um vetor V, verifique se o vetor está ordenado, retorne true ou false. Ordenado([1 2 3 4]) = true;

3 years ago

Solved


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

3 years ago

Solved


Tipos de Triangulos
Dados os tamanhos dos lados de um triangulos A, B e C. Retorne qual o tipo do triangulo: 'equilátero', 'escaleno' ou 'isósceles'...

3 years ago

Solved


Remove Repetidos e Ordena
Dado um vetor A, remove todos os valores repetidos deixando apenas 1 valor, e ordene o vetor. RemoveRepetidosEOrdena([1 1 2 3])...

3 years ago

Solved


Number Puzzle - 047

3 years ago

Solved


Number Puzzle - 045

3 years ago

Solved


Number Puzzle - 039

3 years ago

Solved


Number Puzzle - 037

3 years ago

Load more