Rank: 246 based on 315 downloads (last 30 days) and 14 files submitted
photo

Francisco de Castro

E-mail
Company/University
Queen's University belfast

Personal Profile:
Professional Interests:
Theoretical Ecology

 

Watch this Author's files

 

Files Posted by Francisco View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 Jun 2014 Screenshot scatter3sph SCATTER3SPH Plots a 3d scatter plot with 3D spheres of different size and color Author: Francisco de Castro scatter scatter3 plot..., 3d scatter scatter3 s... 48 8
  • 4.0
4.0 | 3 ratings
07 May 2014 Screenshot fly.zip Fly through any 3D figure Author: Francisco de Castro fly flight flythrough... 25 0
01 May 2014 struc2xls STRUC2XLS Writes the contents os a structure into an Excel file Author: Francisco de Castro data import, data export, structure field excel 35 6
  • 2.33333
2.3 | 3 ratings
29 Oct 2013 fitmethis FITMETHIS finds best-fitting distribution to data vector Author: Francisco de Castro fitting, best fit, maximum likelihood, distribution 4 1
10 Sep 2012 TPROGRESS TPROGRESS shows progress of multiple processes as text on the command window Author: Francisco de Castro progress, waitbar, progress bar, completed 8 4
Comments and Ratings by Francisco View all
Updated File Comments Rating
09 May 2014 scatter3sph SCATTER3SPH Plots a 3d scatter plot with 3D spheres of different size and color Author: Francisco de Castro

I uploaded a new version that does not have the problem mentioned by DBS adn Allen (I think). Spheres will always look spherical, independently of the axis scaling.

01 May 2014 struc2xls STRUC2XLS Writes the contents os a structure into an Excel file Author: Francisco de Castro

Phillip:
I cannot reproduce your problem without knowing what exactly is in 'X', 'Y', 'Z' and 'W'. The error you get suggests you are using empty arrays.

The function works if I try something like this:

Student = struct('SIDN',{100},'firstName',{'John'},'MidName',{'J'},'lastName',{'Jones'})

struct2xls('test',Student)

However, and unrelated to your error, I realized each letter of the names is written in a different cell in the excell file. I uploaded a new version that does not have this problem.

04 May 2013 struc2xls STRUC2XLS Writes the contents os a structure into an Excel file Author: Francisco de Castro

Response to Jaivik: As the message suggests, you are probably using a data type incompatible with the function. You should post it together with the score if you expect any help.

05 Feb 2013 fitmethis FITMETHIS finds best-fitting distribution to data vector Author: Francisco de Castro

I didn't realize there was already a function to do this (more comprehensive, probably): ALLFITDIS by Mike Sheppard.

10 Nov 2012 scatter3sph SCATTER3SPH Plots a 3d scatter plot with 3D spheres of different size and color Author: Francisco de Castro

DBS: Just don't use different scales in the axis. This effect cannot be avoided. See D'Errico advise below.

Comments and Ratings on Francisco's Files View all
Updated File Comment by Comments Rating
09 May 2014 scatter3sph SCATTER3SPH Plots a 3d scatter plot with 3D spheres of different size and color Author: Francisco de Castro de Castro, Francisco

I uploaded a new version that does not have the problem mentioned by DBS adn Allen (I think). Spheres will always look spherical, independently of the axis scaling.

01 May 2014 struc2xls STRUC2XLS Writes the contents os a structure into an Excel file Author: Francisco de Castro de Castro, Francisco

Phillip:
I cannot reproduce your problem without knowing what exactly is in 'X', 'Y', 'Z' and 'W'. The error you get suggests you are using empty arrays.

The function works if I try something like this:

Student = struct('SIDN',{100},'firstName',{'John'},'MidName',{'J'},'lastName',{'Jones'})

struct2xls('test',Student)

However, and unrelated to your error, I realized each letter of the names is written in a different cell in the excell file. I uploaded a new version that does not have this problem.

30 Apr 2014 struc2xls STRUC2XLS Writes the contents os a structure into an Excel file Author: Francisco de Castro Philip

It creates the excel file but with only one of my 4 fieldnames and thats it. I got the same error as Javik Kachhia.

>> struct2xls('test',Student)
Error using xlswrite (line 166)
Input array is empty.

Error in struct2xls (line 55)
xlswrite(filename,m,sheet,rangeB);

here is my struct btw.
Student = struct('SIDN',{X},'firstName',{Y},'MidName',{Z},'lastName',{W})
help would be much appreciated

12 Dec 2013 TPROGRESS TPROGRESS shows progress of multiple processes as text on the command window Author: Francisco de Castro tasdemir, kasim

Hi,

I use 'dispstat' function just for this purpose. It can update the previous output which is a missing function of default 'disp'. Very simple to use. It can be downloaded from here:

http://www.mathworks.com/matlabcentral/fileexchange/44673

***Sample usage:
dispstat('','init'); % One time only initialization
dispstat(sprintf('Begining the process...'),'keepthis','timestamp');
for i = 97:100
dispstat(sprintf('Progress %d%%',i),'timestamp');
%doing some heavy stuff here
end
dispstat('Finished.','keepprev');

***Output:
11:25:37 Begining the process...
11:25:37 Progress 100%
Finished.

All the best

04 May 2013 struc2xls STRUC2XLS Writes the contents os a structure into an Excel file Author: Francisco de Castro de Castro, Francisco

Response to Jaivik: As the message suggests, you are probably using a data type incompatible with the function. You should post it together with the score if you expect any help.

Contact us