Rank: 304 based on 209 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 47 20
  • 4.8
4.8 | 15 ratings
20 Jun 2009 Screenshot INIFILE INI file reading and writing. Author: Primoz Cermelj ini file, configuration, inifile, data import, settings, data export 34 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 12 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 33 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
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.

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

Guys,

I am trying to read a UFF58 data. I can only plot the "data description" part, but couldn't manage to plot the measurment data.

Can you give a hint please? Is it possible at all?

Thank you!

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

Great program, thanks.

it does not work to read a certain data type only with readuff.m . Please consider replacing:
if ~find(dsTypes==data_set_type)
by:
if dsTypes~=data_set_type

And moving:
dataSetN = dataSetN + 1;
just before:
UffDataSets{dataSetN} = ds_data;

Greatings

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 47 20
  • 4.8
4.8 | 15 ratings
20 Jun 2009 Screenshot INIFILE INI file reading and writing. Author: Primoz Cermelj ini file, configuration, inifile, data import, settings, data export 34 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 12 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 33 8
  • 4.28571
4.3 | 7 ratings

Contact us