Solved


Find Logic 8

12 dagen ago

Solved


Find Logic 6

12 dagen ago

Solved


Find Logic 5

12 dagen ago

Solved


Find Logic 4

12 dagen ago

Solved


Find Logic 3

12 dagen ago

Solved


Find Logic 2

12 dagen ago

Solved


Find Logic 1

12 dagen ago

Solved


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

13 dagen 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...

13 dagen 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...

13 dagen ago

Solved


BaeIsAlwaysRight
Output yes whatever bae says

13 dagen 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. ...

13 dagen ago

Solved


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

13 dagen 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...

13 dagen ago

Solved


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

13 dagen 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...

13 dagen ago

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

13 dagen ago | 0

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

13 dagen ago | 1

| accepted

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

15 dagen ago | 1

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...

15 dagen 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...

15 dagen ago

Solved


Vector creation using linspace
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use linspace.

15 dagen ago

Solved


Vector creation using colon operator
Create a vector y containing n uniformly spaced values between a and b, with a < b. Use the colon (:) operator.

15 dagen ago

Solved


Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

15 dagen ago

Solved


Logarithmically spaced vector creation using linspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Avoid using logspace and use the linsp...

15 dagen ago

Solved


Stacking vectors into a matrix
Given a 4x1 vector a, and a 2x2 matrix b, create a matrix M in which the first 2 rows are each identical to a and the last two r...

15 dagen ago

Solved


Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon. Remember the area of pentagon is calculate ...

15 dagen ago

Solved


An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
area of a polygon is p*a/2. where, p is the perimeter and a is the apothem i.e. the normal distance from center to any of the ...

15 dagen ago

Solved


Find the average of a random sequance
Write a function that generates random integers within a loop, and calculates the mean of the positive numbers only. At each ...

15 dagen ago

Solved


Find the largest number
Find the largest number |x| among 4 numbers given as variables |a|, |b|, |c|, and |d|. Example: Input: a = 4; b = 7; c ...

15 dagen ago

Load more