Answered
vision.CascadeObjectDetectorのエラーメッセージについて
下記の様な方法で、なぜ名前解決に失敗するのか原因を探ります。 Undefined variable "vision" or class "vision.CascadeObjectDetector". - (mathworks.com) 下記でvisio...

4 years ago | 0

Answered
vision.CascadeObjectDetectorのエラーメッセージについて
unable to resolve the name vision.CascadeObjectDetector - (mathworks.com) "Unable to resolve the name vision.VideoPlayer"の対処法【M...

4 years ago | 0

Answered
条件を満たさない要素を保持して演算する
> Indexを使うとA<=10が削除されてしまいます ⇒こういう事ですよね。 A = [12 -11; -11 12; 8 -11] idx = A > 10 B = A(idx) + 10 下記のように使えば、条件を満たさない要素は保持されま...

4 years ago | 0

| accepted

Solved


Total resistance of a network of resistors in series and parallel
What is the total resistance of a network of resistors in series and in parallel? A matrix R contains the resistances (in Ohm) ...

4 years ago

Solved


Sum of two number using (regexp, varargin) comand?
Sum two number a &b and get there result in c using the rexp and varargin comand.

4 years ago

Solved


Total resistance of resistors in parallel
What is the total resistance of a number of resistors in parallel? A vector R contains the resistances (in Ohm) of n resistors,...

4 years ago

Solved


Total resistance of resistors in series
What is the total resistance of a number of resistors in series? A vector R contains the resistances (in Ohm) of n resistors, w...

4 years ago

Solved


Draw the symbol '+'
Draw '+' in an x-by-x matrix (where x is odd and x >3) Example: x = 5 y = [0 0 1 0 0 0 0 1 0 0 1 1 1 1 1 0 ...

4 years ago

Solved


Add the number of horizontal and vertical movements to each matrix element
Given n, create a square matrix and with element (1,1) = 1, add 1 to each element for each horitizonal and vertical movement. E...

4 years ago

Solved


Matrix Transposition
Given a matrix and an index, perform matrix transposition as follows - Replace non-corner value of ith ring from outside, with...

4 years ago

Solved


Define an arithmetic sequence
Given three numbers n, a, and d, define an arithmetic sequence of n terms with a being the initial term of the sequence and d be...

4 years ago

Solved


Draw 'Y'
Draw 'Y' in an x-by-x matrix (where x is odd and x >= 3) Examples: x = 3 y = [1 0 1 0 1 0 0 1 0] x = 5 y = [1...

4 years ago

Answered
動画ファイルを画像ファイルに
イメージ シーケンスとビデオとの間の変換 - MATLAB & Simulink - MathWorks 日本 上記の掲載プログラムを改造しました。やっている事は下記の通りです。 冒頭で親フォルダ(動画ファイルが入っているフォルダの親)を選択する 上...

4 years ago | 1

| accepted

Answered
readmatrixで任意のファイルを指定してcsvを読み込みグラフを作成する方法を知りたいです。
uigetfile関数を使います。 [file,path] = uigetfile('*.csv'); a=readmatrix([path file]); plot([a(:,1)],[a(:,2)]);

4 years ago | 0

| accepted

Answered
動画読み込み
'cat doga'フォルダ以下に、下記以外の拡張子を持ったファイルしか無い様です。 その拡張子が対象の画像ファイルなら、imageDatastore関数の'FileExtensions'オプションで指定します その拡張子が対象の画像ファイルではないな...

4 years ago | 0

| accepted

Answered
ある特定のブロックの​計算速度を速くし、グ​ラフを出力することは​できますでしょうか。
モデルの階層構造を作成するためのブロックのグループ化 - Simulink - MathWorks 日本 反復サブシステム - MATLAB & Simulink - MathWorks 日本 条件付き実行サブシステムとモデル - MATLAB & S...

4 years ago | 0

| accepted

Answered
エラーコード エラー: trainNetwork (行 184) 無効な学習データです。回帰タスクの応答は、数値応答のベクトル、行列または 4D 配列でなければなりません。応答に NaN を含めてはなりません。
深層学習ニューラル ネットワークの学習 - MATLAB trainNetwork - MathWorks 日本 [Dt,A,~] = digitTrain4DArrayData [Dv,B,~] = digitTest4​DArrayData​に入...

4 years ago | 0

| accepted

Answered
「 関数 (タイプ'double' の入力引数) が未定義です。」を解決したい。
appはイベントが発生したオブジェクトの情報なので上書きせずに使用する必要があります 関数は上記のappのフィールド名としてapp.BottonON()と指定します function ButtonPushed(app, event) ...

4 years ago | 0

| accepted

Answered
matlabでの画像に対するfilterについての質問です。
画像の色が真っ赤になってしまったという事は、IMG_0678.JPGはカラー画像として読み込まれたはずです。 カラー画像データは3次元(RGB)データなので、RGB共に処理する必要があります。質問のプログラムはR成分しか処理していないので、R成分だけが強...

4 years ago | 1

| accepted

Answered
素点を含む棒グラフの作り方
swarmchart関数はどうでしょう x1 = ones(1,50); x2 = 2 * x1; y1 = [rand(1,30)*2-1 ones(1,10) -ones(1,10)]; y2 = [rand(1,30)*2-1 ones(1,...

4 years ago | 1

| accepted

Answered
[Dt,A,~] = digitTrain4DArrayData [Dv,B,~] = digitTest4DArrayDataに入れたときにcastでクラス変換をdouble型にしたのにdigitTrain4DArrayDataに入れるとカテゴライズ型になってしまう
[XTrain,~,YTrain] = digitTrain4DArrayData; [XValidation,~,YValidation] = digitTest4DArrayDataの「~」これの意味を教えてください。 - (mathworks.com...

4 years ago | 0

| accepted

Solved


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

4 years ago

Solved


Random Problem12- Squaring a number
Square the number

4 years ago

Solved


RandomProblem13-Cube a number
Cube a number

4 years ago

Solved


Random Problem14 - Multiply a vector by a scalar of 2
Multiply a vector by a scalar of 2

4 years ago

Solved


Count the peaceful queens
In a 5x5 chessboard with a queen of one color (white, say) on the perimeter, one can place 12 black queens on the board such tha...

4 years ago

Solved


String Manipulator
Write a script that takes a string as an input and returns a cell array containing – I. the count of vowels. II. Find the ind...

4 years ago

Solved


Determine whether the given number is palindrome or not.
A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the s...

4 years ago

Solved


Swap Characters of a Single Word
Description: In the given input word, convert the lower case to upper case and vice versa. A to a, a to A ... Example: 'Matl...

4 years ago

Solved


Convert grams of Carbon to Moles
Stoichiometry...fun!

4 years ago

Load more