Answered
日本語の認識のご相談
私がMATLABでのテキスト解析をオススメする3つの理由 » MATLAB ユーザーコミュニティー - MATLAB & Simulink (mathworks.com) Directly Extract Part Of Speech (POS) Inf...

3 years ago | 1

| accepted

Solved


Find the moving-average of the elements of a vector
Example Input vector: [1 2 3 4] output vector: 1st element=1/1, 2nd element=(1+2)/2, 3rd element=(1+2+3)/3, 4th element=(1+2...

3 years ago

Solved


Latest Question On Cody
Get the problem number of the latest submitted Problem on Cody. Copying the test suite code might not help.

3 years ago

Answered
左右で時間差をつけた音源の生成・再生法について
sound([x' x1'], fs) % これでいけると思います sound関数のドキュメントに下記の説明があります。 > y — オーディオ データ:列ベクトル | m 行 2 列の行列 > オーディオ データ。単一チャネル (モノ) 音声用の ...

3 years ago | 2

| accepted

Answered
MATLABでのシリアルポートの値の表示と保存
gxを1列から2列に増やせば、新たな変数gyを作らなくても2つのデータを同時に扱えます。 arduin = serialport('COM18',9600); %シリアルポートに接続 fopen(arduin); fwrite(arduin,'a')...

3 years ago | 1

Answered
niftiwrite で画像タグ情報を編集し書き込みたいとき,エラーが出て出力できません.
niftiwrite関数にタグ情報を(追記:任意に)変更する機能はありません。niftiinfo関数でタグ情報を読み込み内容を変更してからniftiwrite関数に渡せば、それをNIFTI画像ファイルに書き込んでくれます。 Image = niftire...

3 years ago | 1

| accepted

Solved


What gear ratio does the cyclist need?
A cyclist (perhaps including our famed Codysolver the cyclist <http://www.mathworks.com/matlabcentral/cody/players/1841757-the...

3 years ago

Solved


Operate on matrices of unequal, yet similar, size
You may want to add a vector to a matrix, implying that the vector is added to each column of the matrix. Or multiply a 3x4x5 ma...

3 years ago

Solved


sinus de pulsation a
Ecrire une fonction sinat qui prend en entrée un vecteur t (de valeurs croissantes) et renvoie un vecteur y de de même dimensi...

3 years ago

Answered
エッジ加工
>ファイル内にある画像をまとめてエッジ加工したいのですがどうすればよろしいでしょうか? ⇒「フォルダ内にある画像をまとめて」と解釈しました。フォルダが多重階層ではない場合で動作確認しました。 impath = uigetdir(pwd); % 画像が含...

3 years ago | 1

| accepted

Answered
writevideo/VideoWriterのフレーム数のエラー
Movie(1).cdataからMovie(num_frame).cdataまでのどこかにサイズの異なるフレームが含まれていると思います。 for文中にsize(Movie(frame).cdata)と書いて、フレームのサイズが途中で変わっていないか確認...

3 years ago | 1

| accepted

Solved


Find smallest integer type to accommodate your number
MATLAB supports 1-, 2-, 4-, and 8-byte storage for integer data. Find the smallest integer type to accomodate a scalar integer. ...

3 years ago

Solved


Create different color vectors.
When producing figures with multiple lines on, you often want the lines to all be visible and different colors. Given the need f...

3 years ago

Answered
3Dカメラのデータをfor文とmeshで確認したいです。
アニメーション表示をする為、フレームの情報を即時描画するdrawnow関数の実行が必要です。 アニメーション表示の為の設定は、グラフ描画の動作設定、座標軸のstyle、座標軸のmodeを参照願います。 下記のサンプルデータ1200フレームをアニメーショ...

3 years ago | 1

| accepted

Answered
txtファイルからスペース区切りで改行しながら、周期的にインポートする方法を教えてください。
readtable関数を用います。 一つおきに入っている"00000000"は上位の桁とみなすのでしょうか? 下記は単に"00000000"を読み飛ばす例です。 tbl = readtable('sample.txt', ... ...

3 years ago | 0

| accepted

Answered
アドオン:Facial Landmarks において, 顔のランドマークの値を抽出する方法
ランドマークの座標は既に計算されていますが、相対的な値が出力されています。目的は「元の入力画像上のランドマーク座標」と思いますが、元の画像上の座標まで戻すには、相対的に計算してきた座標を元に戻していかないとなりません。 最初に元の人物画像のサイズを変更し...

3 years ago | 0

| accepted

Solved


Linear Motion 1
An object travels N feet in the first second of travel, N feet again during the second second of travel and N feet again during ...

3 years ago

Solved


Visualization of experimental data across a surface
Assume that you have taken data across the surface of a sample, for example sheet resistance. The data is stored in a Nx3 matri...

3 years ago

Solved


Magnitude of Balancing Force
A box weighing W1 pounds is placed where its center of mass is located d1 ft from the fulcrum. A balancing force is placed at th...

3 years ago

Answered
楕円面積内の平均値を計算する
>一定間隔で面積をくりぬきたいです ⇒下図のようにドーナツ型をくり抜く解釈であってますか? 円を配列で表す - MATLAB Answers - MATLAB Central (mathworks.com) すぐ近くにあった上記質問に対する回答を...

3 years ago | 0

| accepted

Solved


Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...

3 years ago

Solved


Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...

3 years ago

Solved


Test if a matrix is symmetric
Write a logical function that returns 1 if the input matrix is symmetric and 0 otherwise.

3 years ago

Solved


Count the Number of Undirected Cycles in a Graph
Given a symmetric adjacency matrix, determine the number of unique undirected cycles. For example, the graph represented by adj...

3 years ago

Solved


Change a specific color in an image
The ability to change colors can be a useful tool in image processing. Given an m x n x 3 array (much like CData in images), fin...

3 years ago

Solved


Make blocks of color
Given a (Nx3) sequence of RGB colors, I want to create a (numRowBlocks x numColBlocks x 3) image comprising (blockSize x blockSi...

3 years ago

Solved


Convert a given Character to its decimal equivalent value
Convert a given character to its decimal equivalent value according to the ascii table. if x = '!'; y = 33; if x = 'u'; ...

3 years ago

Solved


Sequence
Let S be a sequence of numbers Let Find for some , where and . Update - test suite cleaned up on 2-9-22

3 years ago

Answered
秒数を決めての出力
pause関数で待ち時間を作れば、やりたい事が出来ます。 A = [1;1;1;1;1;0;0;0;0;0]; for a = num2str(A)' % Aを文字に変換⇒転置してfor文でアクセス fprintf(device,a); ...

3 years ago | 1

Load more