Community Profile

photo

adi kul


78 total contributions since 2015

adi kul's Badges

  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer

View details...

Contributions in
View by

Question


How to extract specific column from multiple csv and store as different columns as output table ?
Hello All, I am working on multiple csv analysis. I could come till extracting specified column from these multiple CSV and put...

4 months ago | 1 answer | 0

1

answer

Answered
find row with certain value and put in cell
Change last line to this: result= cellfun(@(res) unique(res),res,'UniformOutput',false) And let us know if this is what yo...

5 months ago | 0

Answered
Selecting files based on name - how to select files WITHOUT suffix
You can try this: [filepath,name,ext] = fileparts(YourFileName);

5 months ago | 0

Question


saving .mat file with matrix instead of cell arrays
Hello All, With reference to this question : https://in.mathworks.com/matlabcentral/answers/444506-saving-array-values-as-mat-f...

5 months ago | 0 answers | 0

0

answers

Question


Saving array values as .mat file
Hello All, What I am trying to do is I have bunch of .csv files. Most of them have autogenerated garbage things written before ...

5 months ago | 0 answers | 0

0

answers

Question


Reading text file with number and strings
Hello All, I am working on a script where I am requesting user to select file and provide inputs. Here is the code I am using:...

1 year ago | 1 answer | 0

1

answer

Question


Hiding workspace values in Pcode
Hello All, I am trying to distribute my code as protected P code. The only thing I am not happy after conversion is the variabl...

1 year ago | 1 answer | 0

1

answer

Question


Creating tool license function
Hi, I have created a basic tool to calculate few of the formulas which I was working on. Now I have converted into a simple sc...

1 year ago | 1 answer | 0

1

answer

Question


creating array of fix and changing variables for xlswrite export
Hello All, I am in need of exporting my calculations to an excel spreadsheet. As shown in here: <https://in.mathworks.com/matl...

2 years ago | 1 answer | 0

1

answer

Question


How to change default message box when using xlsread(filename,-1)
Hello All, I am using xlsread(filename,-1) in my code where my intent is to give user ability to select specific data on a exce...

2 years ago | 1 answer | 0

1

answer

Question


Using save() and -ascii format to limit output numbers to 2 decimals
Hello All, I need help with save() command. here is the extract of my code: save(fullfile(PathName,filename),'x','-ascii')...

2 years ago | 1 answer | 0

1

answer

Question


Please help me understand the meaning of this [Amax,Bmax]=max(max(AB,[ ],2));
Hello All, I am looking for meaning out of a code I am having. the line in the code is: AB=[2:0.1:7]; [Amax,Bmax]=max(...

2 years ago | 1 answer | 0

1

answer

Question


Setting popup menu strings from excel
I am reading the excel spreadsheet as follows: function upload_Callback(hObject, eventdata, handles) % hObject handle...

2 years ago | 1 answer | 0

1

answer

Question


How to transfer inputs through matlab script to Matlab standalone .exe
Hello All, I have built the standalone .exe for one of my equation calculations. It takes couple of inputs rom user in a edit b...

2 years ago | 1 answer | 0

1

answer

Answered
How to form a decimal vector for a cell array
Try to use reshape. Here is quick code: m=1:1624; n=reshape(m,203,8); Modify it as per your requirements

2 years ago | 0

Question


xlswrite with flexible column range
Hello All, I have a script which reads the data from excel file interactively such that: data=xlsread(xlsname, -1); Whe...

2 years ago | 1 answer | 0

1

answer

Answered
how to trace matlab code? and how to backtrack?
not sure what you mean by "tracing". If you have the "code" then that should be sufficient to understand how it works. I would s...

2 years ago | 0

Answered
About looping a matrix
add a for loop. something similar to: for i=1:50 C(i)=Z(i)*B(i) . . . end

2 years ago | 0

Answered
To transfer datas among the GUIs
try using setappdata instead! Getappdata returns values while setappdata stores it. More information: http://...

2 years ago | 0

Answered
How can I find out the first execution of the function?
Well, your requirements are not clear. What I understood is, you have a script which calls different function files and you wan...

2 years ago | 1

Answered
How to combine quantities of different units to depict a cost function?
Just my thoughts, can't you create 3 different functions for each of A,B and C and then give a random array or array [0:0.01:1] ...

2 years ago | 0

| accepted

Answered
matlab operator What does the fzero command do?
You can read in details what it does by simply writing this on command line: help fzero

2 years ago | 0

Answered
how to reshape a matrix?
If you are okay with replacing NaN values with Zeros then: A(isnan(A))=0 Here A will be your matrix.

2 years ago | 0

Answered
[help] combining 2 matrix problems
Isn't it simply ? C=A+B;

2 years ago | 1

| accepted

Question


Why 2015a plot colors so dull compared to 2013b ? How to fix it?
Hello All, I recently updated to 2015a from 2013b. Now I am facing something weird with plot colors. I have nothing changed in ...

2 years ago | 1 answer | 0

1

answer

Question


Extracting data from GT suite with MATLAB ?
Hello All, I am currently working on MATLAB to post process forces obtained from GT suite. Currently the process is a bit time ...

2 years ago | 0 answers | 0

0

answers

Question


How to use ode45 with initial conditions defined in script?
Hello, I am using ode45 to solve a differential equation. Here is the function file: primary.m function TempP=primary(T...

3 years ago | 2 answers | 0

2

answers

Question


Need help with set of ode
Hello All, Attached are the set of ode which I am trying to code. Done with 1st two but not sure how to do the remaining. Your...

3 years ago | 0 answers | 0

0

answers

Question


Calling userdefined value from GUI .m file into function .m file
Hello all, I need help in calling user defined value from GUI .m file to function .m file. I have GUI .m file which call diffe...

3 years ago | 0 answers | 0

0

answers

Question


How to use pushbutton to stop a loop?
Hello All, I am working on the GUI of my code. I have start code which works in for loop. More the user inputs bigger loops. So...

3 years ago | 1 answer | 1

1

answer

Load more