Community Profile

photo

Peter Kövesdi


Last seen: 4 giorni fa Attivo dal 2016

Followers: 0   Following: 0

Contatto

Statistiche

All
  • Revival Level 1
  • First Submission
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
convert a range vector of bin centers to bin edges. Bin Centers and edges are non-uniform
Ok, I come up with this solution: binedges = zeros(size(binmids)); binedges(1)=2*binmids(1); for i=2:length(binmids) bin...

18 giorni fa | 0

Risposto
Pass ByRef Array / safearray to COM server
Ahh, finally, I got it! It's a combination of two things: - I have to set `feature('COM_SafeArraySingleDim',1)` as described h...

3 mesi fa | 0

Domanda


Pass ByRef Array / safearray to COM server
I have a COM object named "objPoints3d" and want to call it from Matlab. What is the matlab equivalent to pass an array? I try t...

3 mesi fa | 1 risposta | 0

1

risposta

Risposto
How do I split a time series?
Another option is: plot(getsamples(timeseries,ind)) where ind is the index of the samples you want.

oltre 4 anni fa | 0

Risposto
How can I find the center of gravity of a machine in SimMechanics 3.1.1 (R2009b)?
Is there any update to this? In Matlab 2017b, not even the command h=find_system(gcs,'ClassName','Body') works any more.

oltre 4 anni fa | 0

Risposto
linkaxes with different x scales
Adams solution works well, but fails on 'Restore View' from the context menu in zoom or pan mode. To get the axes synchronized ...

circa 5 anni fa | 1

Risposto
How to find the index of the closest value to some number in 1D array ?
ind = interp1(x,1:length(x),val,'nearest'); also does it. But a short comparison shows disadvantages in timing: f1=@()interp1...

circa 5 anni fa | 6