frestimate (data,w,units) not working
    6 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Ivan Petric
 el 31 de Mzo. de 2020
  
    
    
    
    
    Respondida: miguel rodriguez
 el 26 de Jul. de 2021
            Hello,
I am trying to do a frequency response analysis of Boost converter output impedance in simulink. 
I have previously used the frestimate function succesfully, and I am not sure what is now causing the problem.
Frequency response estimator is setup with sample time equal to switching period. Excitation Signal source is Block parameters.
Experiment mode is sinestream, and I am processing offline, in MATLAB using command below. 
logdata=logsout{1}.Values;
sys_estim=frestimate(logdata,f_test,'Hz');
I get the following error:
Index exceeds the number of array elements (0).
Error in freblkData2Frd (line 35)
    IsSuperimposeMode = running(2)>(SI+SS)/2;
Error in frestimate (line 78)
        varargout{1} = freblkData2Frd(data,w,units);
What is causing this problem? Thanks alot!
0 comentarios
Respuesta aceptada
  Harshendra Shah
      
 el 8 de Abr. de 2020
        
      Editada: Harshendra Shah
      
 el 8 de Abr. de 2020
  
      This error message can occur if your model is corrupted. 
You can try to copy the contents of the model into a new Simulink model with the same configuration parameter settings and simulate it.
You can also check if the logdata and f_test parameters that you are passing are not empty.
Hope this helps.
2 comentarios
  Derry Lapin
 el 27 de Abr. de 2021
				I'm receiving the exact same error. I will try removing my scopes to see if that fixes the problem.
Más respuestas (1)
  miguel rodriguez
 el 26 de Jul. de 2021
        I'm experiencing the same thing, can someone from Matlab comment on this? Removing the scopes seems a bit arbitrary.
0 comentarios
Ver también
Categorías
				Más información sobre Offline Frequency Response Estimation en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



