Solved

Read a column of numbers and interpolate missing data
Given an input cell array of strings s, pick out the second column and turn it into a row vector of data. Missing data will be i...

23 days ago

x軸を上下二軸にしたいです．上のｘ軸は下のx軸に対応しているようにしたいです．

23 days ago | 1

| accepted

Solved

Gray Image

24 days ago

Solved

Flip the Image

24 days ago

レターボックス (映像技術) - Wikipedia 入力画像の幅・高さの内大きい方のサイズに合わせた正方形の黒い画像の中央に元画像をコピーします。 I = imread('peppers.png'); sz = size(I); % 画像の幅・高さ...

24 days ago | 2

| accepted

Solved

Dot Product

24 days ago

Solved

Find 100 from a Matrix and Replace With 0 with less computation time
pls use this matrix x = [208 40 167 180 112 70 192 215 90 19 231 100 9 100 97 100 ...

24 days ago

Solved

Get the combinations
Consider p,q = 2 vectors of same or different length. Get a Output Array which has all the possible combinations of Elements o...

24 days ago

for文にテキストボックスの値を入れてループさせる方法を教えてください。
① Y(from,to) = 0.0400 - 1.7992i のfromとtoの添え字が無く、fromやtoの行列全体を指定する事になるので：Y([1,2,2,3,3,4,1,2,3,4], [2,1,3,2,4,3,1,2,3,4]) = 0.0400...

24 days ago | 0

| accepted

3940649673945355 * 3 の計算が合いません。
>どうして 1.821949021836065e+15 ではなく1.821949021836064e+15 となるのでしょうか。 MATLABがデフォルトで用いるdouble型(倍精度浮動小数点数(64bit))で表現できる有効桁数を超えたからです。 ...

25 days ago | 1

| accepted

Solved

Special Relativity 101.
Special relativity states that the effective mass of an object varies as a function of its velocity. If *c* is the speed of ligh...

25 days ago

Solved

Display negative numbers
Given array,x, display all the negative numbers and display output as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

25 days ago

Solved

Step up
For given input array, output a array with all elements step up by two

25 days ago

Solved

Create sine function out of cosine

25 days ago

Solved

Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

25 days ago

Solved

angle in regular polygon
Make a function which returns measure of interior angle in x-side regular polygon. x is as input. Please pay attention, that 1 ...

26 days ago

Solved

Size of this cup?
The given vector has diameter of the cup in mm sampled at micrometer increments in depth from top to bottom, need output in cc a...

26 days ago

Solved

Small Riddle
Mr. Smith has two children. If the older child is a boy, what are the odds that the other child is also a boy?

26 days ago

Solved

Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

26 days ago

Solved

does it touch ?
given a sentence, tell how much it touches. input : string output : how much it touches touching : a bilabial phoneme d...

26 days ago

Solved

Gamma Function
Evaluate the <http://en.wikipedia.org/wiki/Gamma_function/ Gamma Function>. Gamma_val(0) = Inf Gamma_val(1.2) = 0.9182

26 days ago

Solved

Polynomial Multiplication
Multiply two polynomial equation.Given polynomial coefficients a and b.

26 days ago

Solved

Create Vector containing following elements
Create Vector containing following elements A=[pi eps NaN inf -inf flintmax];

26 days ago

Solved

Weave two vectors into one
Weave the two given vectors into one as shown below. Example: If a = [1 1 1] b = [0 0 0] then y = [1 0 1 0 ...

26 days ago

Solved

Narcissistic problem
How many likes has this problem?

26 days ago

Solved

Put Two 1D matrices into one 1D matrix
Example: If input a = [1 2 3 4 5]; input b = [10 9 8 7 6]; then output will be, y_correct = [1 10 2 9 3 8 4 7 5...

26 days ago

Solved

Array ex-OR
There are in MATLAB logical functions such as _<http://www.mathworks.co.uk/help/matlab/ref/and.html and>,_ _<http://www.math...

26 days ago

Solved

Delete 2nd and 5th column of Given 6*6 matrix
Delete the 2nd and 5th columns of the given 6*6 matrix. Example Suppose A = magic(6) 35 1 6 26 19 ...

26 days ago

Solved

Output a vector which is table of 9
Output a vector which is table of 9

26 days ago