Answered
このグラフの描画に関するコードの誤ってる点をおしえてください
式または関数をプロット - MATLAB fplot - MathWorks 日本 % y = f(x) の形式の関数を指定します。関数は、ベクトルの入力引数を受け入れ、 % 同じサイズのベクトルの出力引数を返さなければなりません。 % 最高のパフォ...

4 years ago | 1

| accepted

Solved


Sum multiples

4 years ago

Solved


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

4 years ago

Answered
MarkerSizeを座標の値と一致させたい
線形 2 次元プロット - MATLAB plot - MathWorks 日本 % MarkerSize — マーカー サイズ 6 (既定値) | 正の値 % マーカー サイズ。ポイント単位の正の値として指定します。1 ポイントは 1/72 インチで...

4 years ago | 0

| accepted

Solved


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

4 years ago

Solved


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

4 years ago

Answered
how do i plot the output with constant input
scatter function or yline function will match to your requirement. x = [10 20 30 40 50]; y = [45 45 45 45 45]; %i get my Voutne...

4 years ago | 1

Answered
自己組織化マップにおけるカラーバーの作成方法
【結論】多分これで表示できると思います。動作確認できないplotsomplanes関数の代わりにsurf関数を表示しています x = iris_dataset; net = selforgmap([5 5]); net = train(net,x);...

4 years ago | 0

| accepted

Answered
多次元行列での非ゼロ要素の算出方法
非ゼロ要素のインデックスと値を見つける - MATLAB find - MathWorks 日本 線形インデックスから添字への変換 - MATLAB ind2sub - MathWorks 日本 Using find in a 3d matrix in...

4 years ago | 1

Solved


Count consecutive 0's in between values of 1
So you have some vector that contains 1's and 0's, and the goal is to return a vector that gives the number of 0's between each ...

4 years ago

Solved


Convert ColorSpec string to RGB triplet
Given a ColorSpec string, either in short or long form, return the corresponding RGB triplet. If the input is not a valid color,...

4 years ago

Solved


Convert this color - RGB Vector to Hex String
Given a 3 element RGB vector corresponding to a color (given by the MATLAB color spec <http://www.mathworks.com/help/matlab/ref/...

4 years ago

Solved


Convert hex color specification to MATLAB RGB
Here's something that comes up all the time if you deal with web pages. Given a <http://www.w3schools.com/html/html_colors.as...

4 years ago

Answered
回帰用の画像データセットの作成
xtrain=uint8(zeros(224,224,3,924)); と、変数xtrainをuint8型にすれば白く表示される問題が解消されると想定します

4 years ago | 0

| accepted

Answered
C光源のXYZ表色系をRGB値に変換する方法
CIE 1931 XYZ を RGB に変換 - MATLAB xyz2rgb - MathWorks 日本 CIE 1931 XYZ カラー値を広色域 RGB カラー値に変換 - MATLAB xyz2rgbwide - MathWorks 日本 オ...

4 years ago | 0

| accepted

Answered
MATLABからエクセルへのグラフの作成
>MATLABから "writetable" などでエクセルに作ったテーブルに対して,グラフを作ることは可能でしょうか→YES >"xlschart" というコマンドがありますが,これを用いれば作れるのでしょうか→YES xlschart - File...

4 years ago | 0

| accepted

Answered
インデックスの変更で​、変数の値が変更され​る理由がわからず困っ​ています。
数を減らして分かりやすく提示します。 x=(1:4)*2 ind=[1 3;2 4] F=x(ind) % xの1番目、2番目、3番目、4番目の数値がindの配置通りに選択される ind=[1 3;2 4; 3 5] F=x(ind) % xの5...

4 years ago | 1

| accepted

Solved


Find state names that end with the letter A
Given a list of US states, remove all the states that end with the letter A. Example: Input s1 = 'Alabama Montana Nebras...

4 years ago

Solved


Getting the indices from a matrix
Inspired by Problem 645. Getting the indices from a matrix. Given a matrix A (or a vector), return the indices (always in row...

4 years ago

Answered
3次元で行列スパース パターンの可視化方法について
3 次元散布図 - MATLAB scatter3 - MathWorks 日本 スパース行列の入力は出来ないようですが上記のscatter3関数で表示可能と思います。

4 years ago | 1

Solved


Finding sum of even numbers in a vector.
Find the sum of all the even numbers present in the input vector x. Examples: Input x = [1 2 3 4] Output y is 6 Input...

4 years ago

Answered
イメージラベラーを利用した顔パーツの検出について
Detect objects using R-CNN deep learning detector - MATLAB detect - MathWorks 日本 「スコアが高いほど、検出の信頼性が高いことを示します」との事なので、各々のラベル毎にscor...

4 years ago | 0

Answered
読み込んだ画像の行と列それぞれにグリッド線を引いて、そのブロック内ごとの平均を求める方法に関して
I = imread('peppers.png'); % 対象画像データ読込 sz = size(I); % 画像データのサイズ bk = round(sz(1:2)./[8 8]); % 個別ブロックのサイズ: 画像...

4 years ago | 0

| accepted

Answered
連続値の抽出
mat = readmatrix('例題.csv')'; % 転置して読み込み len = 0; for k = ~isnan(mat(1,:)) len(end+1) = (len(end)+1)*k; % 連長圧縮の応用(lenはmatよ...

4 years ago | 0

| accepted

Solved


Create a secure password
You are joining the MATLAB Central platform to solve a question on Cody. The signup page requires you to input an id and a passw...

4 years ago

Answered
ブロック処理
>計算上分母の数は変わらないのですか?nanが含まれている箇所も分母は9になるのですか?それともnanが除外されるのですか? ⇒NaNが除外され、残った数値の和を残った数値の個数で割った結果が得られます。 【解説】 blockproc関数はNaNの有...

4 years ago | 1

| accepted

Solved


Make a Plot with Functions
Make a plot and test

4 years ago

Answered
if文で数値の条件が合っているはずなのに正しく表示されない
2つの口が検出されていて、if文の判定対象がベクトルになっています。if文でベクトルを判定する場合、一つでもfalse(非ゼロ)が含まれると、判定結果は偽になります。口が複数検出された場合のロジックを設計する必要がありますね。 if [true fals...

4 years ago | 0

| accepted

Solved


There are 10 types of people in the world
Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

4 years ago

Load more