Réponse apportée
fprintfでデータを送る際のゼロパディングのやり方
<https://jp.mathworks.com/help/matlab/ref/dec2hex.html |dec2hex|> のドキュメンテーションをご覧になると、 |dec2hex(d,n)| という構文があるのがわかります。 >> de...

plus de 8 ans il y a | 2

| A accepté

Publié le


Star Wars API Reader
Sean‘s pick this week is Star Wars API Reader by Heather Gorr. What is the average height of an Ewok? allspecies =...

plus de 8 ans il y a

Thumbnail

A résolu


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

plus de 8 ans il y a

A résolu


ベクトル [1 2 3 4 5 6 7 8 9 10] の作成
MATLABでは,角括弧の中に要素を入れることで、ベクトルを作成できる。 x = [1 2 3 4] また次のようにも書ける(コンマはオプション)。 x = [1, 2, 3, 4] 問題:次のベクトルを出力する関数を作成せよ。...

plus de 8 ans il y a

A résolu


2倍してみよう - ここからスタート!
初めにこの問題を試してみよう。 入力としてxを与え、それを2倍して結果をyに代入せよ。 Examples: Input x = 2 Output y is 4 Input x = 17 Output y is 34 ...

plus de 8 ans il y a

Publié le


Download Stock Data
Jiro‘s pick this week is “Historical Stock Data Download (alternate Method)” by Captain Awesome.I’m not an expert in stocks,...

plus de 8 ans il y a

Thumbnail

Réponse apportée
3次元棒グラフでの可視化について
棒グラフではありませんが、 <https://jp.mathworks.com/help/matlab/ref/stem3.html |stem3|> で似たようなグラフが作成できます。 x = randi(10,1,10); y = ra...

plus de 8 ans il y a | 2

Réponse apportée
どうすれば、GUIDEで設定したテーブルに計算した結果を表示することができますか?
こちらのページが参考になると思います。 <https://jp.mathworks.com/help/matlab/creating_guis/synchronized-data-presentations-in-a-guide-gui.html テ...

plus de 8 ans il y a | 2

| A accepté

Publié le


Minimizing energy to segment images, or cluster data
Brett‘s Pick this week is Pottslab – Multilabel segmentation of vectorial data, by Martin. Segmenting images and...

plus de 8 ans il y a

Thumbnail

Réponse apportée
リスト化するファイルの範囲指定
8/26 12:00-12:59 の観測ファイルをリスト化できているのでしたら、それに8/26 13:00-13:59 の観測ファイルを追加すればよいのではないでしょうか。 %ファイル名をフルパスごと取得 (8/26 12:00-12:59) ...

plus de 8 ans il y a | 2

| A accepté

Publié le


Line – Goto From Tool
Sean‘s pick this week is Line – Goto From Tool by McSCert. While reading Guy’s post about the new signal highlighting...

plus de 8 ans il y a

Thumbnail

Réponse apportée
MATLAB Functionブロックの使用方法
全ての <https://jp.mathworks.com/help/matlab/ref/switch.html |switch-case|> 構文に |otherwise| を追加してみてください。 つまり、例えば |jug| が0、1、2、3、...

plus de 8 ans il y a | 1

| A accepté

Réponse apportée
imageにおける、各要素の特定の値に対応した配置について
<https://jp.mathworks.com/help/matlab/ref/pcolor.html |pcolor|> を使うと非線形の X,Y の位置指定ができます。ただ、image 関数と仕様が違うので多少設定をいじる必要があります。以下のサン...

plus de 8 ans il y a | 3

| A accepté

Réponse apportée
ハフ変換で求めた直線の式
「直線の式」とウェブで検索すると2点を通る直線の式の求め方、というページがいくつか見つかります。 <https://jp.mathworks.com/help/images/ref/houghlines.html#outputarg_lines |h...

plus de 8 ans il y a | 2

Publié le


getElevations
Will‘s pick this week is getElevations by Jaroslaw Tuszynski. Always a fan of simple, effective utilities, I couldn’t pass...

plus de 8 ans il y a

Thumbnail

Réponse apportée
sfit型からの3次元等高線の作成
|sfit| オブジェクトを使って |X| と |Y| のグリッドに対して再評価し、 |contour3| を呼べば良いと思います。 xx = linspace(min(x),max(x)); yy = linspace(min(y...

plus de 8 ans il y a | 2

| A accepté

Publié le


Get Computer MAC Address
Sean‘s pick this week is Get Computer MAC Address by Xiangrui Li. What is a MAC Address and what is it used for? I like...

plus de 8 ans il y a

Thumbnail

Réponse apportée
エクセルファイルを読み込み、グラフの上からプロットするには。
既にグラフが存在するとして、こんな感じでしょうか。 ex_data = xlsread('file.xls'); % エクセルから数値データをインポート hold on % ...

plus de 8 ans il y a | 2

| A accepté

Réponse apportée
2直線の交点
「2直線の交点」とウェブで検索すると公式が結構出てきますよ。 MATLAB のコマンドを使うというより数学的に解くのが良いかなと思います。こんな感じでしょうか。 既知:k1, x1, y1, k2, x2, y2 y1 = k1*x1...

plus de 8 ans il y a | 2

Publié le


QR Code Encoder/Decoder
Jiro‘s pick this week is QR Code encode and decode by Lior Shapira.On October 31, we held our biggest annual event of the...

plus de 8 ans il y a

Thumbnail

Réponse apportée
設定点数が少ないのに平滑なマップ
<https://www.mathworks.com/help/simulink/slref/1dlookuptable.html 1-D Lookup Table> を使って内挿法を3次スプラインとするのは如何でしょうか。 <</matlabcen...

plus de 8 ans il y a | 1

| A accepté

Publié le


Easy design iteration sweeps for Simulink models
Greg’s pick this week is STOICAL by Reinhold. Simulink is well suited for laying out block diagrams of system simulations....

plus de 8 ans il y a

Thumbnail

Publié le


Mex Multithreading
Sean‘s pick this week is Mex Multithreading by Dirk-Jan Kroon. My pick this week is an example of how to write...

plus de 8 ans il y a

Thumbnail

Publié le


Labeling Data Points
Jiro‘s pick this week is labelpoints by Adam Danz.This week’s entry caught my attention for two reasons. One is that this...

plus de 8 ans il y a

Thumbnail

Réponse apportée
fscanfを用いた行列ファイルデータの読み取りについて
データ(数値)だけの区切りファイルなのでしたら |fopen|、 |fscanf| を使わずに |dlmread| などで読み込めます。例えば、このようなテキスト ファイルがあるとします。 1 2 3 4 5 6 7 8 |fopen...

plus de 8 ans il y a | 2

| A accepté

Publié le


MockObject
Sean‘s pick this week is Mock Object by Paul Sexton. Paul has provided a mock object that is useful for mocking...

plus de 8 ans il y a

Thumbnail

Publié le


New Deep Learning Blog
Our colleague and long time blogger Steve Eddins recently started a second blog on Deep Learning.  If you are interested in...

plus de 8 ans il y a

Thumbnail

Publié le


MATLAB Basemap Data (R2017b)
Jiro‘s pick this week is MATLAB Basemap Data by MathWorks Mapping Team.In the new R2017b release, there is a new interactive...

plus de 8 ans il y a

Thumbnail

Publié le


Membrane Logo Zoetrope
Sean‘s pick this week is the MathWorks Logo Zoetrope by Ned Gulley. This week I urge you to check out the blog post on the...

plus de 8 ans il y a

Thumbnail

Réponse apportée
入れ子関数での反復計算、ループのさせ方
入れ子関数とはこのようなものですが <https://jp.mathworks.com/help/matlab/matlab_prog/nested-functions.html 入れ子関数> そのことについて聞かれているのでしょうか?上のコー...

plus de 8 ans il y a | 1

| A accepté

Charger plus