Community Profile

# Murugan C

Last seen: circa un mese fa Attivo dal 2015

I am a good experience at MATLAB - Script.

All

#### Content Feed

Visto da

Risolto

MATLAB Basic: rounding IV

4 mesi fa

Risolto

MATLAB Basic: rounding III

4 mesi fa

Risolto

MATLAB Basic: rounding II

4 mesi fa

Domanda

backslash(\) is through error in 2013a but not to 2018b
the below syntax is working in matlab 2018b s = [1 2 3 4; 5 6 7 9; 1 1 1 1 ; 1 1 1 1]; b=[1;1;1;1]; d = s.\b %%result d = ...

11 mesi fa | 1 risposta | 0

### 1

risposta

Risolto

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

circa un anno fa

Risposto
problem with if and or
Hi, to compare string, use strcmpi keyword. Please find below code. Choix1 = questdlg('Veuillez choisir un mode de fonctionn...

quasi 2 anni fa | 0

Risposto
split the matrix into two
odd_Mat = A(:,1:3:end); % Odd column matrix extraction even_mat = A(:,2:2:end); % Even column matrix extraction

quasi 2 anni fa | 0

Domanda

Extract info using regular expression matching
Hello together, I was trying to do some regurlare expression, I am getting correct output which i was expecting. can you plea...

quasi 2 anni fa | 1 risposta | 0

### 1

risposta

Risposto
how to transfer data from Proteus to Matlab? (Serial Communication)
try this one port = 'COM1'; s1 = serial(port); set(s1,'BaudRate',9600,'StopBits',1,'FlowControl','none','Parity','none','Da...

circa 2 anni fa | 0

Risposto
Write a Matlab code to check. .. whether a given number is an amstrong number using functions.
function check_amstrong_number(input) if isnumeric(input) input_ams = num2str(input); else error('Input shoud be n...

circa 2 anni fa | 0

Risposto
How to remove leap year dates from time series in data
[numDat,txtDat,rawDat] = xlsread('moving_windown_test.xlsx'); leafYecount = 1; for i1 = 1 : size(rawDat,1) str_data = num...

circa 2 anni fa | 0

| accettato

Domanda

How to change icon in questdlg
I want to change MATLAB Icon in question dialog box. is it possible to do? If yes, please tell me how to do it.

oltre 2 anni fa | 0 risposte | 0

### 0

risposte

Domanda

selection call back function executed multiple times for single click
Dear all, If you execute the 'example_table_header_Filer.m' file. you can see on file with table info. Once you click on ...

oltre 2 anni fa | 0 risposte | 0

### 0

risposte

Risposto
how to copy cell array data into single cell of table
try like this a = {{[28.3469 284.0484 57.8201 64.7270]} {[16.5200 120.0733 57.8201 46.3408]}}'; d = cell2table(a);

oltre 2 anni fa | 0

| accettato

Risposto
Replacing the values in a column of a matrix
A=[ 8 8 8 8 17 17 28 26 7 7 7 ]' ; B = [25 21 28 26 16]'; j = 1; z = 1; check1 = 0; result1 = []; for i = 1 : length(A...

oltre 2 anni fa | 0

| accettato

Risposto
How do I insert a variable value in legend of a plot?
use below code value_x = 2.2; value_y = 2.5; legend(sprintf('Value-X = %g',value_x),sprintf('Value-Y = %g',value_y))

oltre 2 anni fa | 0

| accettato

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

oltre 3 anni fa | 3 risposte | 0

### 3

risposte

Domanda

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

quasi 4 anni fa | 1 risposta | 0

### 1

risposta

Domanda

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

quasi 4 anni fa | 1 risposta | 0

### 1

risposta

Risposto
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), ...

circa 4 anni fa | 0

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

circa 4 anni fa | 1

| accettato

Risolto

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

circa 4 anni fa

Risolto

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.

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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

circa 4 anni fa

Risolto

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.

circa 4 anni fa

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

circa 4 anni fa | 0

Domanda

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

oltre 4 anni fa | 0 risposte | 0

risposte