Community Profile

# Debasish Samal

2019년부터 활동

All

배지 보기

#### Content Feed

보기 기준

답변 있음
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 ...

거의 4년 전 | 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...

거의 4년 전 | 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...

거의 4년 전 | 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...

거의 4년 전 | 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 ...

거의 4년 전 | 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...

대략 4년 전 | 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...

대략 4년 전 | 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...

대략 4년 전 | 1

| 수락됨

답변 있음
calling dir() with a file path that uses both English and Korean char.

대략 4년 전 | 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...

대략 4년 전 | 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...

대략 4년 전 | 0