Réponse apportée
xlswrite doesn't work when passing on Matlab 2013
Try removing all ' *[~,~]*' from *xlswrite()* coammnd.. and run the code..

presque 10 ans il y a | 0

Réponse apportée
How to sum strings digits?
a = '9437256976162618652738646244869425874869'; b = '776357087634731721006'; c = num2str(str2num(a) + str2num(b)) ...

presque 10 ans il y a | 0

Réponse apportée
How can I export a m file to excel ?
Try for this.. as you mentioned you have 231x338x3 matrix, it means it is having 3 sets of 231x338 let us consider, it is ...

presque 10 ans il y a | 0

Réponse apportée
Append new columns into Excel with MATLAB
Kelvin, In order to append new column with existing data of excel, you need to know the no. of rows. Because if you have var...

presque 10 ans il y a | 0

Réponse apportée
.fig won't open
for your a.fig, do you have a.m file available with you? if yes, then you can run that .m file and or call that .m file wher...

presque 10 ans il y a | 0

Réponse apportée
Exporting Output text to Excel
xlswrite('ABC.xlsx',{'Your batting average is 0.357'},'Sheet1','A1'); and to open that xlsx file.. winopen('ABC.xlsx');

presque 10 ans il y a | 0

Réponse apportée
Is there code to recognize and allow me to browse and select CSV data?
[filename, pathname] = uigetfile({'*.xls';'*.xlsx';'*.csv'});

presque 10 ans il y a | 0

Réponse apportée
Trouble reading in formatted text file
Consider you have text file with name 'Data.txt'.. then Following command will give you all data present in text file. ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
current date and time
datestr(now, 'dd/mm/yy-HH:MM')

presque 10 ans il y a | 2

| A accepté

Réponse apportée
How to check which function is the slowest one?
Simply put.. 'tic' and 'toc' commands in each function one by one and check the time.. % starting of function tic ...

presque 10 ans il y a | 0

Réponse apportée
find common elements of the same row
This is another Answer from my side.. If you have array of 40x1000, and all row and column contains 0's and 1's.. and you ...

presque 10 ans il y a | 0

Réponse apportée
find common elements of the same row
You can do this.. let us consider, you have following input matrix.. A = [1 2 3 4 5 6 7 8 9; 1 2 3 4 3 2 2 5 7; 9 8 7 6 5 ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
transform data from rows to columns
If you have variable 'data' like.. data = {'company-----Date--------Price', 'ComA--------15/05/2015--20.5', 'ComA--------15/...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Extracting data from a .txt file
clc; clear all; Data = textread('Data.txt', '%s', 'delimiter', ''); count = 1; for i = 1: length(Data) if ~...

presque 10 ans il y a | 0

Réponse apportée
How can I convert data in format cell to double?
As the 'X' is in dataset format, so you need to create new variable by fetching data for 'X'. first load your .mat file, then...

presque 10 ans il y a | 0

Réponse apportée
How to read alternate rows from an excel sheet?
Hello Aravind, As per my knowledge, in xlsread, there is no such facility to fetch alternate rows of column. You can do on...

presque 10 ans il y a | 0

Réponse apportée
How to read date and time from text file and move into cell array?
% code for Date Date = Cstr{3}; splitDate = strtrim(regexp(Cstr{3},' ','split')); newDate{1} = strrep(splitDate{1},':',''...

presque 10 ans il y a | 1

| A accepté

Réponse apportée
how to ignore a value and jumps to next row for calculation?
Let us consider, you have values as follows as example: u = [112, 54, 86, 547, 999, 458, 657, 999, 56, 422, 100]; fo...

presque 10 ans il y a | 0

Réponse apportée
How can i generate month and year strings for Datetime vectors?
Hello Steven, here is the code.. dateArray = ['01/Jan/2015';'01/Feb/2015']; for i=1:size(dateArray,1) date = dat...

presque 10 ans il y a | 0

Réponse apportée
how to rearrage a cell array?
Here is the code: Once you calculate the variables 'parameter' and 'value' Below that add this code.. % value of vari...

presque 10 ans il y a | 2

| A accepté

Réponse apportée
Creating new variable in a subfunction .m file
file 1 function main() % your code for loop for calling the sub () for N number of time % your code which calcul...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
how to do staircse PWM in matlab
Hello Gray, I am not sure what exactly you want but I guess following control logic is similar to what you want.. It is the c...

presque 10 ans il y a | 0

Réponse apportée
How to run a p code matlab?
.p files are the end user code, which we can't see like any other .m files. to run the .p files, simply keep it in your curre...

presque 10 ans il y a | 6

Réponse apportée
Xlsread for a particular column returns values from another column too?
MyData1 = xlsread(fileName,'Sheet1','AD:AD'); ir = find(ismember(MyData1,2.5)); MyData2 = xlsread(fileName,'Sheet1...

presque 10 ans il y a | 0

Réponse apportée
I'm having trouble running my script
Hello Jeremy, try for this code... clear all; clc; num = input('\nEnter total number of students = '); for i = ...

presque 10 ans il y a | 0

Réponse apportée
Reading a text file and rows with data
For reading any text file.. try this code.. clear all; count = 1; fid = fopen('ascii_file.txt'); tline = fgetl...

presque 10 ans il y a | 0

Réponse apportée
how to open another gui from existing gui using push button ?
Lets consider you have 'ABC' is main GUI and 'XYZ' is sub GUI and 'OK' is the push button of GUI ABC then in callback of OK p...

presque 10 ans il y a | 2

Réponse apportée
How to sort or rearrange a column with respect to the other column?!
Hello Mariam, For your given sample data: A = 241 5 1245 4 684 ...

presque 10 ans il y a | 0

Réponse apportée
How to extract user defined data from excel sheet?
Hello Ali, Please find attached code and input data sheet. Keep it in matlab current directory and run the sheet.m file ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
Show multiple graph in one grid from multiple .m files
check for command: "subplot" copy the following line completely and paste into command window and check the results subpl...

presque 10 ans il y a | 0

Charger plus