Community Profile

photo

Shojiro SHIBAYAMA


Last seen: etwa 2 Jahre vor Aktiv seit 2016

Followers: 0   Following: 0

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

Statistiken

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

Abzeichen anzeigen

Feeds

Anzeigen nach

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Gelöst


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

mehr als 3 Jahre vor

Frage


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

mehr als 3 Jahre vor | 0 Antworten | 0

0

Antworten

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

fast 4 Jahre vor | 0

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

fast 4 Jahre vor | 0

| akzeptiert

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

fast 4 Jahre vor | 1

| akzeptiert

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

fast 4 Jahre vor | 1

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

fast 4 Jahre vor | 1

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

fast 4 Jahre vor | 1

| akzeptiert

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

fast 4 Jahre vor | 1

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

fast 4 Jahre vor | 1

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

fast 4 Jahre vor | 0

| akzeptiert

Gesendet


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

fast 4 Jahre vor | 2 Downloads |

Mehr laden