MATLAB for Beginners. How to load data from a file into MATLAB

Поділитися
Вставка
  • Опубліковано 15 вер 2024
  • In this video I will show you how to load data from a text file into Matlab and how to do basic functions such as choosing a particular element from the data.
    Tags: Text File. Load from File, Matlab, Matlab For beginners

КОМЕНТАРІ • 23

  • @JesusMartinez-zu3xl
    @JesusMartinez-zu3xl 2 роки тому +2

    thank you! I'm reviewing my matlab knowledge since im taking material science this upcoming semester and will be dealing with lots of data! Excel isn't cutting anymore for my higher up classes in engineering.

  • @tomasconti391
    @tomasconti391 2 роки тому

    Thank you very much!!! U saved me

  • @irisanz3577
    @irisanz3577 3 роки тому +1

    Do we really need to specify which file that we want? Can we open a file to read all the files inside??

  • @samibasha
    @samibasha 2 роки тому

    Thanks, it was helpful

  • @samnelson3526
    @samnelson3526 3 роки тому

    This helped me, thank you

  • @Rainstorm121
    @Rainstorm121 Рік тому

    Thank u Sir.
    I work with ocean and climate data. Majority of the data are in netCDF.
    Can you please make one video on how to read netcdf files?

  • @joshuacharlery8529
    @joshuacharlery8529 2 роки тому +1

    THANK YOU!!!

  • @electengin820
    @electengin820 3 роки тому

    ممنون بهمن جان..

  • @rohanbangash5827
    @rohanbangash5827 3 роки тому +1

    i get the message "Error using load- No such file or directory."

    • @BahmanFarzi
      @BahmanFarzi  Рік тому

      you are not giving the right file path to the load command.

  • @yasminbarazandegan
    @yasminbarazandegan 5 років тому +1

    liked

  • @germainecabildo3550
    @germainecabildo3550 11 місяців тому

    What if its in an ios device?

  • @Bad_Avadh
    @Bad_Avadh 3 роки тому

    hello sir I want to draw a graph i have public data so how I can use this data into Matlab please tell me how I can draw

    • @irisanz3577
      @irisanz3577 3 роки тому

      Please tell me if you have found a solution for this thank you

    • @BahmanFarzi
      @BahmanFarzi  2 роки тому

      What do you mean by public data?

  • @birbybirb4520
    @birbybirb4520 Рік тому

    Hello what if one of your columns has negative numbers?

    • @BahmanFarzi
      @BahmanFarzi  Рік тому

      Negative numbers are data as well.
      There should be absolutely no problem loading them.

    • @birbybirb4520
      @birbybirb4520 Рік тому

      @@BahmanFarzi hello it just keeps rounding my numbers especially the negative ones. My numbers are decimals if that means anything

    • @birbybirb4520
      @birbybirb4520 Рік тому

      @@BahmanFarzi I did look at the format function and none of the formats keep my numbers as they are in the txt file

    • @BahmanFarzi
      @BahmanFarzi  Рік тому

      @@birbybirb4520 It shouldn’t round it.
      Use : format long
      After the load command.
      It seems that you are just seeing Matlab’s standard display which rounds up the numbers for easy display but the numbers themselves are intact.
      Use format long to see complete numbers.

  • @hoshmandmustafa5751
    @hoshmandmustafa5751 Рік тому

    MR. Bahman can I contact you ?