Community Profile

photo

Murugan C


Last seen: 21 days ago Active since 2015

I am a good experience at MATLAB - Script.

Statistics

All
  • Knowledgeable Level 3
  • Thankful Level 3
  • Introduction to MATLAB Master
  • Creator
  • Personal Best Downloads Level 1
  • 5-Star Galaxy Level 1
  • Community Group Solver
  • First Submission
  • 3 Month Streak
  • Revival Level 2
  • Promoter
  • Knowledgeable Level 2

View badges

Content Feed

View by

Question


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 months ago | 1 answer | 0

1

answer

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

2 years ago | 0

Answered
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

2 years ago | 0

Question


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

2 years ago | 1 answer | 0

1

answer

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

2 years ago | 0

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

2 years ago | 0

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

2 years ago | 0

| accepted

Question


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.

2 years ago | 0 answers | 0

0

answers

Question


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

2 years ago | 0 answers | 0

0

answers

Answered
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);

2 years ago | 0

| accepted

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

2 years ago | 0

| accepted

Answered
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))

2 years ago | 0

| accepted

Question


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

3 years ago | 1 answer | 0

1

answer

Question


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

3 years ago | 3 answers | 0

3

answers

Question


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

4 years ago | 1 answer | 0

1

answer

Question


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

4 years ago | 1 answer | 0

1

answer

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

4 years ago | 0

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

4 years ago | 1

| accepted

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

4 years ago | 0

Question


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

4 years ago | 0 answers | 0

0

answers

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

4 years ago | 0

| accepted

Answered
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);

4 years ago | 0

| accepted

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

4 years ago | 1

| accepted

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

4 years ago | 0

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

4 years ago | 0

Question


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

5 years ago | 0 answers | 0

0

answers

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

5 years ago | 1

Answered
Help forming loop to simplify my code
Hello Wilson, Please try below code. clc clear %These will be displayed in the legend of the graph %Times should be in t...

5 years ago | 0

| accepted

Answered
Storing values from a for loop
Hi, CustAmt = input('How many customers would you like to examine?: '); for x = 1:CustAmt Cust(x).name = input('What...

5 years ago | 0

Answered
what is scenario of simulink and stateflow
Hi, If our/your concepts has state based, then we should use stateflow otherwise wil use simulink. For example, In car, Gear b...

5 years ago | 0

Load more