A répondu
How to output a cell array as a table where the arrays contain vectors of different length?
C = cell(3,10); % cell array C that is 3 x 10 with each element containing a vector of numbers of type double. C = cellfun(@(x)...

7 mois il y a | 0

A répondu
use function for and if via matlap
nms = [50 60 -2 -15 100]; sum(nms) % 1- find the sum of a set of five different numbers sum(nms(nms < 0)) % 2- find ...

7 mois il y a | 0

| A accepté

A répondu
Summing the even index elements of a 1D array
mySumEven([1 2 3 4 5 6 7 8 9]) function [out] = mySumEven(A) n = length(A); if n == 1 disp('No numbers in even positions...

7 mois il y a | 0

| A accepté

A répondu
How do I set a text variable The new text is added with the old
> how do I add the new to the old? ss = []; for n=1:10 ss = [ss, num2str(n), 'ss']; end ss

7 mois il y a | 1

| A accepté

A répondu
Why do I get an invalid text character error?
You should change the value i to string data. VX = eval(['V',num2str(i)])

7 mois il y a | 0

A répondu
Report Generator で作成したpdfファイルを特定のパスで指定したフォルダに保存する方法
mlreportgen.report.Report クラス のプロパティ OutputPath を設定します。拡張子は別途 Type に設定します。 %pdfファイルを保存したパス Path = [pwd filesep 'testファイル/test'...

7 mois il y a | 1

| A accepté

A répondu
画像に一つ目の関心領域を設定後に位置や大きさを微調整し,次に別の関心領域設定に移りたい場合について
使った事が無く明確なイメージを持っていませんが: drawpolygon 関数は新たに多角形ROIを作成完了するまで(※)ブロック waitメソッドは既存のROIを変更完了するまで(※)ブロック  (※いずれもマウス ボタンのダブルクリックにより作業...

7 mois il y a | 0

| A accepté

A répondu
動画の上にベクトル場で流速分布を表示したい
>どのようにすれば,動画の上に流速分布を表示できますか?? 動画を1フレームずつ表示し、その上に流速分布のプロットが可能です。 動画ファイルの読み取りや書き出しは専用の関数群で実行できます。 [X,Y] = meshgrid(pi/8:pi/8:2*...

7 mois il y a | 0

| A accepté

A répondu
Optical flow lines を説明して欲しい
>このコードが指し示す意味が分かりません。このブロックは何の操作をしていますか?? このブロックは入力の速度分布データに設けたグリッド上のデータを抽出・演算・加工したデータを出力しています。 入力 vel_Values:速度分布を表す行列データ ...

7 mois il y a | 0

| A accepté

A répondu
Statistics and Machine Learning Toolboxのttest2などの検定実行エラーについて解決方法を教えてください
Statistics and Machine Learning Toolbox内部の関数が見つからないのですから下記の原因が想定されます。 必要なパス設定が何らかの理由で変化したか失われた 必要なファイルが何らかの理由で失われた もし何か心当たりがあ...

7 mois il y a | 2

| A accepté

A répondu
"dmatrix=readmatrix("data.txt")"で大きなデータを読み込む際に,"fread failed: error : Invalid argument for \\filepath of data.txt"と表示された。しかし,data.txtが問題なく読まれたようであるが、そのエラーの原因などをご教示願いします。
【類似のQ&A】共有フォルダを現在のフォルダに選択できない - MATLAB Answers - MATLAB Central (mathworks.com) 【原因】readmatrix 関数がUNCパス(\\ndata01\...) に対応していない...

7 mois il y a | 0

A répondu
matlab home 個人購入(趣味)時、前バージョンの2016bの使用
>matlab home 個人購入(趣味)時、前バージョンの2016bは使用できますか? はい。MATLAB Home購入時の最新バージョン以前のバージョンであれば使用できます。 あまり古過ぎるバージョンは直ぐにダウンロード出来なかったり、入手出来ても...

7 mois il y a | 0

A répondu
複数円を囲む凸包
>半径が同一の円であれば、中心を囲む凸包をconvhullで求めた後に、半径をpolybufferでバッファーとすれば求められましたが、半径が異なる場合はその方法が使えません。解決策やアドバイスをお持ちの方がいましたら、ご教授いただきたいです 複数の円状...

8 mois il y a | 0

| A accepté

A répondu
Individualライセンス PC複数台利用について
ソフトウェアのオプションと、インストール可能なパソコン台数について MATLABライセンスはどんな形式になっている?導入前に調べてみた|MATLABパソコンのおすすめスペック (matpc.xyz) ・Individualライセンスを使用する場合、...

8 mois il y a | 0

A répondu
impixelを使用して矩形領域のピクセル値を取得するにはどうすればよいですか。
実直に従えばこうなります。c と r にスカラ値を加算すれば矩形領域の座標を動かす事が出来ます。 Image = imread('peppers.png'); c = [1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4 5...

8 mois il y a | 0

A répondu
sfitオブジェクトをテキストファイルに書き込むにはどうすればいいですか?
(面倒) sfit オブジェクトの要素にアクセスしてテキストファイルに書き出す ※ sfit オブジェクトのアクセス方法 (簡単) diary 関数でsfit オブジェクトの表示内容をテキストファイルに保存する load franke sf = fi...

8 mois il y a | 0

| A accepté

A résolu


Loja de tintas
Faça um programa para uma loja de tintas. O programa deverá receber o tamanho em metros quadrados da área a ser pintada. Conside...

8 mois il y a

A répondu
Data rearrangement inside matrices
A = 0; % variable containg time value B = [0 0; 0.1 0.1; 0.2 0.2]; % matrix containing X-axis and Y-axis coordinates C = [10 2...

8 mois il y a | 0

| A accepté

A répondu
How to replace and delete specific lines of a .txt file?
ismember function works for your purpose. fileA = readtable('https://jp.mathworks.com/matlabcentral/answers/uploaded_files/1342...

8 mois il y a | 1

A répondu
timetable型のデータで年を除く、月日のみの傾向を可視化する方法
可変長カレンダー単位の時間の長さ - MATLAB - MathWorks 日本 日付と時刻を成分のベクトルに変換 - MATLAB datevec - MathWorks 日本 カレンダー期間配列(calendarDuration)を使えば良さそうで...

8 mois il y a | 0

| A accepté

A répondu
2次元グラフの面積取得方法
2 次元および 3 次元の点で構成される多角形および多面体 - MATLAB - MathWorks 日本 上記なら上手く計算出来そうです。 n = 100; for k = 0:9 % ランダム値でサンプル点群データを生成 x(k*n+1...

8 mois il y a | 0

A répondu
Transfer Fcnに[]なし係数を入力した時の意味
モデル等確認していませんが、下記を実施してみては如何でしょうか?

8 mois il y a | 0

| A accepté

A répondu
大学院進学時のライセンス更新について
同様の質問と回答があります。 matlabの購入、請求先情報について ライセンスの更新を行いたいです 学生ライセンスの購入について。

8 mois il y a | 0

A répondu
時系列に合わせて、三次元プロットを線で結びたい
for 文の中でplot3 関数を繰り返しても同じ事が出来ますが、プロパティのデータのみ変更してdrawnowの方が少し速いです。 load(websave('s.mat','https://jp.mathworks.com/matlabcentral/...

8 mois il y a | 0

| A accepté

A répondu
how to transform a table with column names into an double array without column names
Convert table to homogeneous array - MATLAB table2array (mathworks.com) I cannot reproduce the problem. table2array does work a...

8 mois il y a | 0

A répondu
Count repeated numbers from a data column and produce new columns
data = repelem([692;3988;5248;5313],[7;6;4;3]); n1 = find(diff([data; inf])); n2 = [n1(1); diff(n1)]; [data, cell2mat(arrayfu...

8 mois il y a | 0

A répondu
timeseriesデータから、X、Yの値をcsv化する方法
具体的なプログラムを挙げて頂けないでしょうか? 問題が再現しません。そもそも timeseries データに”Values”フィールドが存在しません。 ts = timeseries(ones(5,1),[199.80;199.81;199.82;19...

8 mois il y a | 1

| A accepté

A répondu
xdataの行とydataの行の同じ行をxdataの行と等しい行のydataを削除する方法
>xdataで削除行をydataの行と同じ行の部分を削除したいのですが何かいい方法はありませんか? (xdata <= 0)は線形インデックス(単なる整数)なので、xdataにもydataにも適用する事が可能です。 従って xdata(xdata <=...

8 mois il y a | 0

A répondu
指定した時刻の範囲の行を、元のテーブルから抽出して、新しいテーブルを作りたい
oldT = timetable2table(readtimetable('outages.csv')); % サンプルデータ(時刻データは1列目にあるものとする) tod = timeofday(oldT{:,1}); % 時刻データは1列目にあるもの...

8 mois il y a | 0

| A accepté

Charger plus