Community Profile

photo

adi kul


Last seen: 6 months ago
84 total contributions since 2015

adi kul's Badges

  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer

View details...

Contributions in
View by

Answered
how to add more than on Data Tips on the plot of matlab ?
If you are doing it manually, hold alt and click.

8 months ago | 0

| accepted

Question


Assigning 0 if a variable is not present in mat file
I am trying to assign zero to a variable which is not available in mat file. I am trying to make it work with following code whi...

8 months ago | 1 answer | 0

1

answer

Question


concatenate multiple variables from multiple .mat files
Hello All, I need a help in concatenate multiple variables from multiple .mat files stored in multiple folders. Below is my co...

8 months ago | 0 answers | 0

0

answers

Question


xlswrite over for loop
Hello, I am trying to save a spreadsheet after my calculations with following code: for j=1:numel(parameter_list) %my c...

8 months ago | 1 answer | 0

1

answer

Question


Saving mat file with prefix over loop
Hello, Looking help in saving same .mat file with prefix over loop. Facing error with following script: clear all close all ...

9 months ago | 2 answers | 0

2

answers

Question


loop over subfolders and saving cat parameters
Hello All, I am trying to run my code over sub folder but facing issues. I am trying to extrac perticular variable from multipl...

9 months ago | 1 answer | 0

1

answer

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

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

1 year ago | 0

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

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

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

1 year 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:...

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

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

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

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

3 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')...

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

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

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

3 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

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

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

3 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

3 years ago | 0

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

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

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

3 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

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

3 years ago | 0

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

3 years ago | 1

| accepted

Load more