Import data doesn't import some of the values
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
    Emanuele Giacomuzzo
 il 23 Nov 2020
  
    
    
    
    
    Risposto: Ameer Hamza
      
      
 il 23 Nov 2020
            When I try to import a matrix into MatLab from a text file, it doesn't import some of the values. An example of values that is not imported is 2.134282. An example of values is imported is 0.00277.
Risposta accettata
  Ameer Hamza
      
      
 il 23 Nov 2020
        Have you tried readmatrix()? It seems to import the value correctly
format long
M = readmatrix('weighted_network.txt');
x = M(26, 35)
Result
>> x
x =
   2.134282000000000
0 Commenti
Più risposte (0)
Vedere anche
Categorie
				Scopri di più su Data Import and Analysis in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

