Community Profile

Shojiro SHIBAYAMA

Last seen: 2 mois ago
44 total contributions since 2016

Dr. Eng. (from University of Tokyo, Japan for chemical engineering)

View details...

Contributions in
View by

Solved

Natural numbers in string form
Create a cell array of strings containing the first n natural numbers. _Slightly_ harder than it seems like it should be. Ex...

2 mois ago

Solved

Fix the last element of a cell array
Note: this is lifted directly from <http://www.mathworks.com/matlabcentral/answers/82825-puzzler-for-a-monday Puzzler for a Mond...

2 mois ago

Solved

Cell Counting: How Many Draws?
You are given a cell array containing information about a number of soccer games. Each cell contains one of the following: * ...

2 mois ago

Solved

Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

2 mois ago

Solved

Split a string into chunks of specified length
Given a string and a vector of integers, break the string into chunks whose lengths are given by the elements of the vector. Ex...

2 mois ago

Solved

Convert a numerical matrix into a cell array of strings
Given a numerical matrix, output a *cell array of string*. For example: if input = 1:3 output is {'1','2','3'} whic...

2 mois ago

Solved

Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...

2 mois ago

Solved

Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...

2 mois ago

Solved

Get the length of a given vector
Given a vector x, the output y should equal the length of x.

2 mois ago

Solved

Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

2 mois ago

Solved

Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

2 mois ago

Solved

Create a vector
Create a vector from 0 to n by intervals of 2.

2 mois ago

Solved

Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...

2 mois ago

Solved

Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

2 mois ago

Solved

Find max
Find the maximum value of a given vector or matrix.

2 mois ago

Solved

Inner product of two vectors
Find the inner product of two vectors.

2 mois ago

Solved

Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

2 mois ago

Solved

Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

2 mois ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

2 mois ago

Question

3 mois ago | 0 answers | 0

0

fcn2optimexpr この関数のドキュメント読むと，以下の利用例がありました． myfcn = fcn2optimexpr(@RtoODE,r,tspan,y0); これを踏まえると， [T, sol] = fcn2optimexpr(@fu...

3 mois ago | 0

3 mois ago | 0

| accepted

mファイルでの微分

4 mois ago | 1

| accepted

Help with column-wise matrix manipulation without for loop
Honestly, I didn't get what you want do precisely, but the following code may help you. IMO, for loop in MATLAB doesn't prolong ...

4 mois ago | 1

'Too many ouput arguments' error when trying to obtain an MWArray from .dll function in C#.
First, I recommend you to check the datatype of the output of the `magicmod.mymagic`. Or, you should just show us how the origin...

4 mois ago | 1

ソース管理の設定
「このrepoは仮に作成したものにすぎないので、この設定を削除、もしくは元に戻したい」 ここがよく分からないのですが、リポジトリを削除するということであれば、以下のコマンドでbashから削除できると思います。 \$ ls -lt .git \$ rm -...

4 mois ago | 1

| accepted

How I ignore the unnecessary areas between two graphs in my Plot?
How about you ignore the indexes of both x `Time` and y `Ventricel` and `Atrium`? Define `THRESHOLD` as you wish and you reco...

4 mois ago | 1

HOW to open and plot .mat file

4 mois ago | 1

`libraryCompiler` view does not show the option of '.NET Assembly'
This issue comes from the license lackness. Thanks.

4 mois ago | 0

| accepted

Submitted

outN
A function that picks up N-th output of a function.