Published


Alluvial flow diagram
Jiro‘s Pick this week is Alluvial flow diagram by Alexander Carmeli.I give credit to Yair for bringing this entry to my...

7 years ago

Thumbnail

Published


File Exchange はツールの宝庫
こんにちは、道家です。今日は File Exchange の紹介。 皆さん、このブログを読まれているという事は MATLAB Central はご存知という事かと思いますが、そこに File Exchange...

7 years ago

Thumbnail

Published


AIS Decoder
Idin‘s pick this week is AIS Decoder by our former colleague Mike Donovan. This example shows how to decode automatic...

7 years ago

Thumbnail

Published


大盛況! コミュニティイベント@MATLAB EXPO 2019
2019年5月28日に開催された でのコミュニティイベントの様子をご紹介します。 MATLAB EXPO は年に1回のユーザーカンファレンスです。 年々参加者が増える中、MATLAB...

7 years ago

Thumbnail

Solved


文字列の最初と最後の文字だけ抜き出しましょう。
文字列の最初と最後の文字をつなげて返すような関数を作成しましょう。 もし文字が一つしかない場合、その文字は最初と最後の文字のため、関数はその文字を二回返すようにしておきましょう。 例: stringfirstandlast('borin...

7 years ago

Solved


対称で、n*2n のサイズの行列を作成しましょう
サイズが n*2n の "mirror" 行列(対称行列)を作成しましょう。 例: n=2 の場合、以下のような出力を返します。 m = [ 1 2 2 1 1 2 2 1 ] n = 3 の場合、以下のよう...

7 years ago

Solved


英語の文章内の母音を取り除くコードを書きましょう。
与えられた英語の文章内の母音を取り除きましょう。 例: 入力 s1 が 'Jack and Jill went up the hill' の場合、 出力 s2 は 'Jck nd Jll wnt p th hll' * (英語版) ...

7 years ago

Solved


テレビのサイズを求めてみよう
あなたは電気屋で働いています。 あなたの電気屋にテレビを買いに来たお客さんに「何インチのテレビを買いたいのか」と質問したところ、対角線の情報しかわからないと言われてしまいました。 しかし、テレビのインチを知るには、幅と高さの情報が必要です。 ...

7 years ago

Solved


NaN (欠損値) が含まれている行を削除しよう
行列 A が与えられたとき、その行列の中に NaN (Not a number; 欠損値) の要素がある行を見つけ出し、その行を削除しましょう。 例: A = [ 1 5 8 -3 NaN 14 ...

7 years ago

Solved


特定の値がベクトル内に含まれているかを確認するコードを書こう
ベクトル b にあるスカラ値 a が含まれていれば出力として 1 を返し、含まれていなければ 0 を返すような関数を作成しましょう。 例: a = 3; b = [1,2,4]; スカラ値 3 はベクトル b に含まれていない...

7 years ago

Solved


ゼロでない要素が一番多い行を探そう
行列 a が与えられたとき、行列 a の中で一番ゼロの要素が少ない行のインデクス r を返す関数を作成しましょう。このとき、行列 a には一つだけしかこの条件に当てはまる行がないと仮定します。 例: 入力として、行列 a = [ 1 ...

7 years ago

Solved


行列内の素数の平均をとろう
行列が与えられたときに、その行列内の素数の平均を計算する関数を作成しましょう。 例: 入力の行列が in = [ 8 3            5 9 ] のとき、 出力が 4 あるいは (3+5)/2 のようになり...

7 years ago

Solved


二つのベクトルの要素ごとの積の平均を計算しよう
二つの同じ長さのベクトルが与えられたとき、二つのベクトルの要素ごとの積の平均を求めましょう。 例: 二つのベクトル [1 2 3] と [10 15 20] が与えられたとき、 それぞれの要素ごとの積の平均を取ると、 解は 33.33...

7 years ago

Solved


二乗になっている数を見つけよう
ある数のベクトルが与えられた場合、そのベクトルの要素の一つが他の要素の二乗であれば true を返し、それ以外の場合は false を返すようなコードを書いてみましょう。 例: 入力が a = [2 3 4] のとき、 出力 b は t...

7 years ago

Solved


ベクトルの値が増加しているかを調べよう
ベクトルの値が増加している場合 (ベクトルの各要素が前の要素よりも大きい場合) には true を、そうでない場合には false を返すようなコードを書いてみましょう。 例: 入力が x = [-3 0 7] のとき、 関数の...

7 years ago

Solved


チェッカーボードを作ろう
整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。 例: 入力 n = 5 出力 a が [1 0 1 0 1 0 1 0 1 0 ...

7 years ago

Solved


サイコロを作ろう
1から6までの独立かつランダムな数値を返すような関数を作成しましょう。 例: >> [x1,x2] = rollDice(); と入力すると x1 = 5 x2 = 2 のような解を返します。

7 years ago

Published


Memory Info
Sean‘s pick this week is Memory Info by Sviatoslav Danylenko. Have you ever wanted to get the current memory used by MATLAB?...

7 years ago

Thumbnail

Published


Welcome to Japan Community Blog!
日本のMATLABユーザーに向けた情報発信のためのブログを開設いたします。 各所で実施されているユーザー会の紹介 MathWorks 主催のユーザーイベント報告 File Exchange や MATLAB Answers...

7 years ago

Thumbnail

Published


ThingSpeak functionality ships with R2019a
Jiro‘s Pick this week is ThingSpeak Support Toolbox by MathWorks Internet of Things Team.ThingSpeak is MathWorks’ IoT...

7 years ago

Thumbnail

Published


What’s Your Color Scheme?
Brett‘s Pick this week is MATLAB Schemer, by Scott Lowe. Contents Easy manipulation of your MATLAB color scheme! MATLAB is...

7 years ago

Thumbnail

Published


Getting Started with MATLAB examples
Jiro‘s Pick this week is the example files used in the “Getting Started with MATLAB” video by one of my colleagues, Matt...

7 years ago

Thumbnail

Submitted


Explore Parabolic Motion (High school physics)
This app was developed for a physics workshop targeting high school students. 中高生向け物理実験ワークショップのために作成したアプリです。

7 years ago | 1 download |

5.0 / 5
Thumbnail

Published


Convert between RGB and Color Names
Will‘s pick this week is Convert between RGB and Color Names by Stephen Cobeldick. A fairly common challenge I encounter is...

7 years ago

Thumbnail

Published


MATLAB Projects
Sean‘s pick this week is MATLAB Project File by Dmitry Ratner and the new Projects functionality in base MATLAB added to...

7 years ago

Thumbnail

Published


MATLAB Grader Test (Assessment) Generator
Jiro‘s Pick this week is MATLAB Grader Test Generator by Robin T. Bye.MATLAB Grader is a web service product available for...

7 years ago

Thumbnail

Published


Do You Find Yourself Searching for Connection (in Simulink)?
Greg’s pick this week is slQuery by Robert Rasche. Robert has created an impressive mechanism for finding and operating on...

7 years ago

Thumbnail

Published


Connectionist Temporal Classification Layer
Sean‘s pick this week is Connectionist Temporal Classification Layer by SergeyLA. A Custom Deep Learning Layer in the...

7 years ago

Thumbnail

Published


Multi-column legend, revisited
Jiro‘s Pick this week is the NumColumns property of the legend function, new as of R2018a.This week, R2019a was...

7 years ago

Thumbnail

Published


World Bank API Access
Sean‘s pick this week is World Bank API Access by Kim9091. Last year, I blogged about writing your own function...

7 years ago

Thumbnail

Load more