Community Profile

# Murugan C

##### Last seen: 2日 前
96 2015 年以降の合計貢献数

I am a good experience at MATLAB - Script.

#### Murugan C's バッジ

Numeric extract from char
Hello all, I need to extract numbers from char. For exp ("Acb2hea" == 10) ("Acb2hea1" >= 15) ("Acb2hea" ...

7ヶ月 前 | 1 件の回答 | 0

### 1

extract structure array value
Hi all I have nested structure like below, MyData(1).User.Id = 5; MyData(1).User.Name = 'XXX'; MyData(2).User.Id = 7; ...

7ヶ月 前 | 3 件の回答 | 0

### 3

cell conversion to mat
Hi, I have cell arrray and i want to convert cell to mat. a = {[111,116];[389,396];146;173;[156,161];166;180;175;167;176;168...

11ヶ月 前 | 1 件の回答 | 0

### 1

string split in cell array
Hi Guys! I am trying to split a numberic sting in cell array data. but unable to do it. a = {'c\datat\pic\res\000-774'; '\c\...

12ヶ月 前 | 1 件の回答 | 0

### 1

Assign values to numbers and recount after a fixed interval
consider excel as my input. [numdata, textdata, rawdata] = xlsread('Test_data.xlsx'); timecolomn = (datestr( numdata(:,1), ...

How can I copy files from multiple subfolders into a new folder and rename them while doing so?
hi, if your all folder's are same structure. pl use this code. common_folder1 = 'Erg'; common_folder2 = 'DV'; outputFolde...

| 採用済み

Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

Is there a way to find the max value in an array without using the "max" command?
with the help of for and if, we can create a function to find max value in given array. If it is vector, use two for loop for ro...

1年以上 前 | 0

change cell color in excel conditional formatting
Hello all, I am working on excel file. In that, I want to do conditional formatting for specfic text using ActiveX command. i....

1年以上 前 | 0 件の回答 | 0

### 0

Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<http://upload....

1年以上 前

Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

1年以上 前

Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

1年以上 前

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

1年以上 前

Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

1年以上 前

Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

1年以上 前

Reepeating numbers in array
Repeating numbers in array In = [1 0 0 0 2 0 0 0 3 0 0 0 0 0 5 0 0 0 0]. Out = [1 1 1 1 2 2 2 2 3 3 3 3 3 3 5 5 5 5 5].

1年以上 前 | 1 | 18 個のソルバー

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

1年以上 前

Serial Port opening problem
Hi you should check, how many ports are open and closed using instrfind syntax in matlab. >> instrfind Instrument Obje...

1年以上 前 | 0

| 採用済み

Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

1年以上 前

Plot cell array starting from the second element
hi, use below code to extract cell from 2 and plot. cell_extra = a(2:end); plot(cell_extra);

1年以上 前 | 0

| 採用済み

How to remove displayed edit boxes when the user changes the number of inputs in GUI?
H Ahmed Abed, You should delete handles information which you were created. Please use below code. in 'NumberOfLayers_Callb...

1年以上 前 | 1

| 採用済み

How to set a start and restart button for counter model?
Hi, attached up and down counter. Here i didn't created any button for up and down counter.

2年弱 前 | 0

How can i enter the input in MATLAB GUI ?
Hi Yusuf, I have created simple layout for your queris. I hope this attached gui files should resolve your issue. If it is not, ...

2年弱 前 | 0

Find variable value overwritten in M file and Simulink.
How do we find variable value overwrite in M file and Simulink. Here I have writen very simple code. Does matlab has any too...

2年弱 前 | 0 件の回答 | 0

### 0

How to save a GUI figure in matlab
we can use the saveas command to save your Figure OR GUI to a specific file format as like below. If you press Save Fig button...

2年弱 前 | 1

Load more