Debasish Samal
2019 年からアクティブ
Followers: 0 Following: 0
統計
All
Feeds
回答済み
How to find position of array
You can use regular expressions to do this. x = '11111100001111'; expr = '1*'; [sInd,eInd] = regexp(x, expr) This gives the ...
How to find position of array
You can use regular expressions to do this. x = '11111100001111'; expr = '1*'; [sInd,eInd] = regexp(x, expr) This gives the ...
5年以上 前 | 1
| 採用済み
回答済み
Given a matrix A, create the matrix B whose elements are the neighbor sumr for A
There are multiple indexing errors in your code Jose. Here is the rectified version. A = [1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 1...
Given a matrix A, create the matrix B whose elements are the neighbor sumr for A
There are multiple indexing errors in your code Jose. Here is the rectified version. A = [1 2 3 4; 5 6 7 8; 9 10 11 12; 13 14 1...
5年以上 前 | 1
| 採用済み
回答済み
Regular expressions: number that does not begin or end with a letter
Here is a solution to your answer. This solution separates all the decimal numbers/integers from the non integers/decimals. str...
Regular expressions: number that does not begin or end with a letter
Here is a solution to your answer. This solution separates all the decimal numbers/integers from the non integers/decimals. str...
5年以上 前 | 0
| 採用済み
回答済み
variant sink declaring variables
One thing you can try here is using 2 switches. Set the threshold value in both switches and supply the inputs accordingly. For...
variant sink declaring variables
One thing you can try here is using 2 switches. Set the threshold value in both switches and supply the inputs accordingly. For...
5年以上 前 | 0
回答済み
Euler's Method
There is a parentheses mismatch in your code for the euler's method. Replace that line with: y(i+1) = y(i) + h *(sin(x) * ( 1 ...
Euler's Method
There is a parentheses mismatch in your code for the euler's method. Replace that line with: y(i+1) = y(i) + h *(sin(x) * ( 1 ...
5年以上 前 | 0
| 採用済み
回答済み
Import data with column separated with a comma, and comma as decimal place symbol
One thing that you can do here is import the data and save it in a variable say 'var'. Then replace the commas by a decimal poin...
Import data with column separated with a comma, and comma as decimal place symbol
One thing that you can do here is import the data and save it in a variable say 'var'. Then replace the commas by a decimal poin...
5年以上 前 | 0
回答済み
Count the number of space character from a text file which has multiple lines
What you are actually doing in the while loop is , assigning the number of spaces in each line to the variable space. It will al...
Count the number of space character from a text file which has multiple lines
What you are actually doing in the while loop is , assigning the number of spaces in each line to the variable space. It will al...
5年以上 前 | 1
| 採用済み
回答済み
Mongo and GridFS Java Driver with MATLAB
The error occurs because there is no such object "gridFSBucket". You need to create an object "gridFSBucket" of type GridFSBuck...
Mongo and GridFS Java Driver with MATLAB
The error occurs because there is no such object "gridFSBucket". You need to create an object "gridFSBucket" of type GridFSBuck...
5年以上 前 | 1
| 採用済み
回答済み
calling dir() with a file path that uses both English and Korean char.
Follow the below link to the answer. It is similar to your issue. https://www.mathworks.com/matlabcentral/answers/71626-matlab-...
calling dir() with a file path that uses both English and Korean char.
Follow the below link to the answer. It is similar to your issue. https://www.mathworks.com/matlabcentral/answers/71626-matlab-...
5年以上 前 | 0
回答済み
How to delete elements on specific indices?
You can achieve this on matlab by using the following code. outliers = [1,3,7]; elm = [1, 2, 3, 4, 5, 6, 7, 8, 9]; elm(outlie...
How to delete elements on specific indices?
You can achieve this on matlab by using the following code. outliers = [1,3,7]; elm = [1, 2, 3, 4, 5, 6, 7, 8, 9]; elm(outlie...
5年以上 前 | 4
| 採用済み
回答済み
how to solve index exceeds dimensions
In the line a(position) = xor(b(position),code(m)); The variable 'position' should not be used for indexing into b as it will e...
how to solve index exceeds dimensions
In the line a(position) = xor(b(position),code(m)); The variable 'position' should not be used for indexing into b as it will e...
5年以上 前 | 0