Answered
13.2 判定分岐 タスク1,タスク2の結果の違いについて
doPlotが0になる場合と1になる場合の両方をみると違いがわかります。 タスク1: doPlotが1の場合はPlot画面が表示され、doPlotが0の場合は何も表示されない タスク2: doPlotが1の場合はPlot画面が表示され、doPlotが0...

5 years ago | 2

| accepted

Answered
13.2 判定分岐 タスク1 doPlot が 1 の場合にのみの条件の設定について
>こちらの問題の解答がif doPlot=1 ではなく if doPlot になるのは何故でしょうか? 【回答】"if doPlot==1"でも"if doPlot"でも文法的に正しく、同じ意味になるからです。     但し"if doPlot=1"は...

5 years ago | 2

| accepted

Answered
画像データの軸プロパティについて質問です。
下記の様に画像データは行列データと同様に操作出来ます。型がuint8(0:黒~255:白)で、RGB3色分ある点に注意です。 img = imread('img.jpg'); image(img) [h w ~] = size(img); % h=3...

5 years ago | 1

| accepted

Solved


How long do each of the stages of the rocket take to burn?
A space rocket has 3 stages: - stage 1, s1; - stage 2, s2; - stage 3, s3. If s1 burns 3 x as long as s2 which burns ...

5 years ago

Solved


Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...

5 years ago

Solved


Calculate Engine Power
Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

5 years ago

Solved


Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...

5 years ago

Solved


Find Logic 9

5 years ago

Solved


Find Logic 10

5 years ago

Solved


Find Logic 8

5 years ago

Solved


Find Logic 6

5 years ago

Solved


Find Logic 5

5 years ago

Solved


Find Logic 4

5 years ago

Solved


Find Logic 3

5 years ago

Solved


Find Logic 2

5 years ago

Solved


Find Logic 1

5 years ago

Solved


Cumulative difference
Given an array, return the cumulative difference. Example a = [ 1 3 5 7 ] cumdiff = [ 1 2 1 -2 ]

5 years ago

Solved


Uniform binary crossover
Given two binary vectors, return the two children by combining the genes of them using a binary crossover mask. More informat...

5 years ago

Solved


Create a dictionary
The goal is to write a function that returns a dictionary from a list of words or phrases and their definitions. Here is an exam...

5 years ago

Solved


BaeIsAlwaysRight
Output yes whatever bae says

5 years ago

Solved


Usage of varargout
This Challenge is to demonstrate usage of varargout. Output a cell array using varargout of magic squares of size 1 thru n. ...

5 years ago

Solved


Delete blanks at the end of string
you got to delete all blank spaces which appears at the end of string

5 years ago

Solved


Get ranking of a combination looking for speed.
I have the numbers pulled without replacement from the set [1 2 3 4 5 6 7 8 9 10 11 12 13]; They are then ordered from least to...

5 years ago

Solved


Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

5 years ago

Solved


Matrix Indexing
Given a matrix A and scalars r,c,i, find the product of two elements, with the first element located at row r and column c (doub...

5 years ago

Answered
不完全なヒストグラムにhistfitで確率密度正規分布を近似させたとき,そのmeanとσを知る方法はありますか?
>そのmeanとσを知る方法はありますか? はいあります。histfit関数ではなくfitdist関数によってそれらのパラメータが得られます。 分布近似をもつヒストグラム - MATLAB histfit - MathWorks 日本 より抜粋 hi...

5 years ago | 1

| accepted

Answered
グラフのピークサーチについて
下記リンクの画像を読み込み、行の和で表したグラフの最小値と最大値をrow_min, row_maxにそれぞれ格納しました。 RGB イメージまたはカラーマップをグレースケールに変換 - MATLAB rgb2gray - MathWorks 日本 g...

5 years ago | 1

| accepted

Answered
画像の白飛びを消して画像のパラメータなどを計算したい
実際に動かしてみます。繰り返しを避ける為グレースケール画像を処理しています。添付画像はリンク先のwikipediaより拝借しました。白飛び・黒つぶれ - Wikipedia mygy = rgb2gray(imread('Blown-out_highli...

5 years ago | 1

| accepted

Answered
Reset the variable after every iteration
>I have MATLAB GUI where it points the exact locations of clicks. You should isolate the cause of your problem. Your MATLAB GUI...

5 years ago | 0

| accepted

Solved


Right shift an array n times with constant space.
Right shift an array n times with constant space, that is, no extra array can be used. Right shift operation: Last element com...

5 years ago

Load more