Réponse apportée
論理スカラー値に変換可能
<https://jp.mathworks.com/help/matlab/ref/logicaloperatorsshortcircuit.html> の1つ目の例題に「X と Y にショートサーキット OR 演算子を使用すると、エラーが返されます...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
figure pop outside the screen
Thanks! I forgot to ask. What version of MATLAB are you using and on what OS? Also please note that MATLAB sets the display s...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
Wavelet Toolboxの使い方について
お使いの MATLAB バージョンはいくつでしょうか? web上で表示されるサンプルコードは基本的には最新版(現時点で R2017b、日本語だと1リリース遅れて R2017a)を想定しておりますので、古いバージョンですとそのまま実行できない可能性があ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
DLLファイルが読み込めません。どうすれば読み込めますか?
64-bit 版 MATLAB で 32-bit 版のライブラリをロードしようとしたときに、このエラーが発生するケースがあります。読み込まれている DLL を 64-bit 版として作成しなおせば、64-bit 版 MATLAB にロードすることができるよ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
MATLAB has encountered an internal problem and needs to close.エラーに関して、原因を教えてください
クラッシュログ情報を表示するボタンも表示されていますか?あれば、そちらが原因特定のヒントになるかもしれませんので、次回チャンスがあれば教えてください。またよく発生する一部の要因については自動で解決策がメールで案内される場合もありますので、ログを送信するボタ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
EXEをMATLAB上で実行する
<https://jp.mathworks.com/help/matlab/matlab_external/run-external-commands-scripts-and-programs.html 外部コマンド、スクリプト、プログラムの実行> ...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
axisで設定した範囲外のボリューム等値面を非表示にする方法はありますか?
R2014a 以前の MATLAB では座標軸の範囲でクリップするのではなく、座標軸を囲む最小の 2 次元の長方形でクリップしているため、、もし可能であれば R2014b 以降のバージョンに変更していただくのがよいのですが、可能な選択肢でしょうか。 ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
dlmreadでファイルを開けないです。
lc_data=(dlmread([lc_file lc_path])); で結合されている lc_file と lc_path は [lc_file,lc_path,~]=uigetfile('*.*') で取得されていると思いま...

plus de 8 ans il y a | 0

Réponse apportée
3次元データの行列要素と行及び列番号の取り出し
詳細ありがとうございます。 簡単な 4x3x2 の行列 Aで実施してみます。もっときれいな方法があると思いますが、それはほかの回答者を待ってみましょう。 A1 = rand(4,3,2); % サンプルデータ x = 1:4; y = ...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
matlabの境界条件について
有限差分に imfilter を使うのは面白い活用例ですね。 >> % オプションで値を指定すると固定値境界に とあるように、 U = 2.*U1 - U2 + c^2.*imfilter(U1, F, 100).*dt*dt; ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How to formulate a fitness function cosists of sum of different variables?
Hmm, I'm still struggling to understand your situation. This is pure speculation, but I'd try the followings. First, define a...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
fminunc の step size について
目的関数の勾配を有限差分で推定する際の差分幅は制御できますが、ステップサイズ自体はアルゴリズムが決定するため直接固定する方法はありません。何か固定されたい理由や困りごと(収束しない等)などありますか?

plus de 8 ans il y a | 1

Réponse apportée
映像中の対象物の座標
その記録されたい対象物は何でしょうか。人の顔などすでに組み込みの関数が用意されているものもありますし、一般的なものであればディープラーニングを使って検出する仕組みを作ることも必要かもしれません。 <https://jp.mathworks.com/p...

plus de 8 ans il y a | 2

Réponse apportée
R2017bをインストールしました。ウィンドウからの「ログイン」ボタンを押しても反応せず、「アドオン」ボタンを押しても反応せず、困っています。
まったく反応しないのは困りましたね。特にエラーメッセージなども出ませんでしょうか? まずは下記で紹介している"初期化"を試してみるのも1つの手かと思います。 <https://jp.mathworks.com/matlabcentral/ans...

plus de 8 ans il y a | 0

Réponse apportée
画像を入力としないCNNを構築するにはどうしたらいいでしょうか?
imageInputLayer([1 6000]); などと、信号を 1xN の"画像"として取り扱った例があります。 layers = [imageInputLayer([1 6000]) convolution2dLayer...

plus de 8 ans il y a | 1

Réponse apportée
3Dデータ中の球体カウント
もし画像のように綺麗に分離している球体の形をしている点群のみであれば MATLAB の alphaShape オブジェクトでうまくいくかもしれません。いろんな形の塊が存在しその中から球体を見つける、という場合には別の方法を考える必要があります。 ...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
数値データの畳み込みができません.
imageInputLayer([1 6000]); などと、信号を 1xN の"画像"として取り扱った例があります。 layers = [imageInputLayer([1 6000]) convolution2dLayer...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
CNNを使って波形から回帰を行うことはできますか?
imageInputLayer([1 6000]); などと、信号を 1xN の"画像"として取り扱った例があります。 layers = [imageInputLayer([1 6000]) convolution2dLayer...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
Error: Undefined function or variable [even if I defined the same variable on previous line]
You can place a breakpoint at the line where error happened and see if the variable is really defined. See <https://jp.mathwo...

plus de 8 ans il y a | 0

Réponse apportée
対数積分の計算について,About Logarithmic integral function
WolframAlpha で試したところ MATLAB と同じ結果になります。 <http://www.wolframalpha.com/input/?x=0&y=0&i=li(-0.302303-4.46191i)> おそらく定義が異なるのか...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
I want to obtain the coordinates of the object detected by the detector
Answered here <https://jp.mathworks.com/matlabcentral/answers/377306->

plus de 8 ans il y a | 1

Réponse apportée
検出器で検出した物の座標を取りたい
例題を実行すると分かりやすいですが、例題では検出結果として >> bbox bbox = 415 135 35 38 が得られます。それぞれ境界ボックス(四角形)の x 座標、y座標、幅、高さを意味しますが、求めて...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How can I detect the number of circles on the picture on MATLAB?
As the error message states that "The value of 'RadiusRange' is invalid. Expected input number 2, RADIUS_RANGE, to be positive."...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
遺伝的アルゴリズムの目的関数の収束状況の確認方法
簡単なのは [x,fval,exitflag] = ga(fitnessfcn,nvars,...) と実行して exitflag の結果を確認する方法です。exitflag の値とその収束結果との対応は下記を確認ください。 <http...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How can I draw many circles without overlapping?
Interesting problem. One way is to keep generating a set of centers until every center is separated by more than the fixed radiu...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
Code to draw multiple circles that do not overlap
When the inputs are matrices, the functions draw columns of Y versus columns of X. So could you try changing fill(x,y,'k') ...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
ヒストグラムのビンを固定にすることはできますか?
'BinLimits' オプションで可能かと思いますので、試していただけますか? 例: A=imread(fname); [Z,edges]=histcounts(A,255,'BinLimits',[0,255]); 参考:...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
MEXファイルを利用した関数のオーバーヘッドを減らす方法について
再現ステップを詳細にまとめてくださりありがとうございます。Windowsマシンではありますが、同じような傾向がこちらでもR2017bで確認できました。 MEX関数を実行する際のオーバーヘッドがどこで発生しているのかを検討していたのですが、その過程で純...

plus de 8 ans il y a | 4

| A accepté

Réponse apportée
nprtool関数を用いてプロットしたROC曲線のAUCの算出方法について
残念ながら nprtoolのGUIでは求めることはできません。 コマンドベースで実行する必要がありますが、例えば roc 関数 (Neural Network Toolbox) で各出力クラスの受信者動作特性を計算した後に、trapz関数 (MATLAB...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
quiverの表示範囲をaxesの大きさに固定することは可能ですか?
quiver 関数の scale オプションだといかがですか? 引用:"自動的なスケーリングを使用せずに速度ベクトルをプロットするには、scale = 0 を使用してください。" <https://jp.mathworks.com/help/matl...

plus de 8 ans il y a | 0

| A accepté

Charger plus