Debasish Samal
自 2019 起处于活动状态
Followers: 0 Following: 0
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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 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 years 前 | 0