photo

Shojiro SHIBAYAMA


Last seen: quasi 3 anni fa Attivo dal 2016

Followers: 0   Following: 0

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

Statistica

All
  • Thankful Level 2
  • Community Group Solver
  • Knowledgeable Level 2
  • Revival Level 1
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 1
  • First Submission
  • GitHub Submissions Level 1
  • First Review
  • First Answer
  • Thankful Level 1
  • Solver

Visualizza badge

Feeds

Visto da

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Domanda


操作変数ありのシミュレータの設計
ode45などで操作変数有りのプラントモデルの実装例がみたいです。 simulinkモデル無しにMATLABコードだけでシミュレータとプロセス制御のコードを書きたいのですが、可能ですか?

oltre 4 anni fa | 0 risposte | 0

0

risposte

Risposto
複数の方程式からなる関数を用いたフィッティング方法
fcn2optimexpr この関数のドキュメント読むと,以下の利用例がありました. myfcn = fcn2optimexpr(@RtoODE,r,tspan,y0); これを踏まえると, [T, sol] = fcn2optimexpr(@fu...

oltre 4 anni fa | 0

Risposto
絶対パスから相対パスへ変更
作業フォルダを起点に相対パスを書くならば [pwd '/relative/path/data.mat'] と pwd コマンドを使うと良いと思います。 mfilenameという関数も場合によっては利用可能です。

oltre 4 anni fa | 0

| accettato

Risposto
mファイルでの微分
関数の数値微分は、 と表わせますので、関数 fおよび入力の値xを引数に持つインライン関数などを定義すれば良いと思います。dxは十分小さい値を与えましょう。n階微分を定義するきれいな方法もあるはずですが割愛します。 以下に、2次関数を数値微分するサン...

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 1

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

oltre 4 anni fa | 1

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

oltre 4 anni fa | 1

| accettato

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

oltre 4 anni fa | 1

Risposto
HOW to open and plot .mat file
IF you follow your way of coding with `load`, the below code will work. x = load('S01E.mat'); figure;plot(x.data); or, `x.dat...

oltre 4 anni fa | 1

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

oltre 4 anni fa | 0

| accettato

Inviato


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

oltre 4 anni fa | 1 download |

Carica altro