Rank: 292 based on 194 downloads (last 30 days) and 7 files submitted
photo

Primoz Cermelj

E-mail
Company/University
Iskra Mehanizmi d.o.o.
Lat/Long
46.30501, 14.21149

Personal Profile:
Professional Interests:
automotive industry, scientific computing, programming, research, product and process development

 

Watch this Author's files

 

Files Posted by Primoz View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 May 2013 Screenshot UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj uff, data export, unv, data import, universal file, reading 52 21
  • 4.8125
4.8 | 16 ratings
20 Jun 2009 Screenshot INIFILE INI file reading and writing. Author: Primoz Cermelj ini file, configuration, inifile, data import, settings, data export 51 10
  • 5.0
5.0 | 11 ratings
28 Nov 2005 AdvExpFig Exporting MATLAB figures Author: Primoz Cermelj graphics import, graphics export, exportfig, export, fig, figure 2 1
  • 4.0
4.0 | 1 rating
11 Mar 2005 Screenshot sbprogress Creates a progress bar in the "status-bar section" of a figure. Author: Primoz Cermelj progress, create, status bar, gui tools, example, gui 4 0
  • 4.5
4.5 | 2 ratings
22 Feb 2005 eps2xxx Converts an EPS file to several other formats (PDF, JPG, PNG, TIFF). Author: Primoz Cermelj eps, eps2jpg, tif, jpeg, png, jpg 24 8
  • 4.28571
4.3 | 7 ratings
Comments and Ratings by Primoz
Updated File Comments Rating
27 May 2013 UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj

Fixed the issue Ozan pointed out, i.e., using numpt.

Comments and Ratings on Primoz's Files View all
Updated File Comment by Comments Rating
12 Jul 2013 UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj Wang, Jianliang

there a field named "ordDenomDataChar" in the writeuff.m, but there is not a same field in the readuff.m
when I want to write a chaged uff structure, I should to added it.

12 Jul 2013 UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj Wang, Jianliang

27 May 2013 UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj Cermelj, Primoz

Fixed the issue Ozan pointed out, i.e., using numpt.

26 Apr 2013 UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj Ozan Oguz

There is a mistake in the extract58 data reading, which causes wrong plotting.

Instead of using "end-1" and "end" values to fill "measdata" and "x" values (((i.e. UFF.x = values(1:2:end-1);))), you should use "numpt" which is defined already as the number of measured data points.

This is neccessary in some uff recordings, as there are extra "zero" values at the end of the recorded data, which are not real measured data and used only to complete the columns and lines of UFF or UNV recording. Using "end" causes you to have these false data points.

See this:

*********************************
% Abscissa and ordinate values
if (ordDataType == 2 || ordDataType == 4)

% non-complex ordinate data
if spacingType == 0 % uneven abscissa
UFF.x = values(1:2:end-1);
UFF.measData = values(2:2:end);
else % even abscissa
UFF.measData = values;
nVal = length(UFF.measData);
UFF.x = UFF.xmin : UFF.dx : UFF.xmin + (nVal-1)*UFF.dx;
end
elseif (ordDataType == 5 || ordDataType == 6)

% complex ordinate data
if spacingType == 0 % uneven abscissa
UFF.measData = values(2:3:end-1) + j*values(3:3:end);
UFF.x = values(1:3:end-2);
else % even abscissa
UFF.measData = values(1:2:end-1) + j*values(2:2:end);
nVal = length(UFF.measData);
UFF.x = UFF.xmin : UFF.dx : UFF.xmin + (nVal-1)*UFF.dx;
end
else
errMessage = ['error reading measurement data at:' num2str(lineN)];
return
end

********************************

22 Apr 2013 eps2pdf Converts an EPS file to a PDF file. Author: Primoz Cermelj T, David

This script has worked very well for me through Windows XP and Windows 7. Note, that you do need to locate the exact path to the ghostscript file on your local drive. The example provided in the .m notes is just that, an example and will likely not reflect where the gs file is located on your machine.

For Windows 7, i found that the OS doesn't have a suitable gs to path to. www.ghostscript.com has a free download for ghostscript 9.07 which resolves this problem. Just path to the .exe and change the eps2pdf script to the correct file name and you're all set.

Top Tags Applied by Primoz
eps, pdf, data export, data import, eps2pdf
Files Tagged by Primoz View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 May 2013 Screenshot UFF File Reading and Writing Reading and writing of ascii files in Universal File Format (UFF). Author: Primoz Cermelj uff, data export, unv, data import, universal file, reading 52 21
  • 4.8125
4.8 | 16 ratings
20 Jun 2009 Screenshot INIFILE INI file reading and writing. Author: Primoz Cermelj ini file, configuration, inifile, data import, settings, data export 51 10
  • 5.0
5.0 | 11 ratings
28 Nov 2005 AdvExpFig Exporting MATLAB figures Author: Primoz Cermelj graphics import, graphics export, exportfig, export, fig, figure 2 1
  • 4.0
4.0 | 1 rating
11 Mar 2005 Screenshot sbprogress Creates a progress bar in the "status-bar section" of a figure. Author: Primoz Cermelj progress, create, status bar, gui tools, example, gui 4 0
  • 4.5
4.5 | 2 ratings
22 Feb 2005 eps2xxx Converts an EPS file to several other formats (PDF, JPG, PNG, TIFF). Author: Primoz Cermelj eps, eps2jpg, tif, jpeg, png, jpg 24 8
  • 4.28571
4.3 | 7 ratings

Contact us