Navigation

    ask avan logo
    • Register
    • Login
    • Search
    • Categories
    • Unsolved
    • Solved
    1. Home
    2. Alan Daniel
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 2
    • Groups 0

    Alan Daniel

    @Alan Daniel

    2
    Reputation
    2
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Alan Daniel Follow

    Best posts made by Alan Daniel

    • RE: Matlab : How can I automatically let Matlab input the file in sequence?

      it works, thanks!

      posted in Coding Question & Answers
      Alan Daniel
      Alan Daniel
    • RE: Matlab : How can I automatically let Matlab input the file in sequence?

      Thanks a lot. You are brillant!

      posted in Coding Question & Answers
      Alan Daniel
      Alan Daniel

    Latest posts made by Alan Daniel

    • RE: Matlab : How can I automatically let Matlab input the file in sequence?

      Thanks a lot. You are brillant!

      posted in Coding Question & Answers
      Alan Daniel
      Alan Daniel
    • RE: Matlab : How can I automatically let Matlab input the file in sequence?

      it works, thanks!

      posted in Coding Question & Answers
      Alan Daniel
      Alan Daniel
    • Matlab : How can I automatically let Matlab input the file in sequence?

      How can I let Matlab automatically input the file itself rather than one by one myself?

      I mean, I want to put Sample 1.wav and then output Sample 1.png and then put Sample 2.wav and then output Sample 2.png and then put Sample 3.wav and then output Sample 3.png

      I do not want to type myself 1, 2, 3 and rather let the matlab run itself from 1 to 1,000

      [y,Fs] = audioread('sample1.wav');
      spectrogram(y,'yaxis')
      saveas(gcf,'sample1.png')
      Then
      
      [y,Fs] = audioread('sample2.wav');
      spectrogram(y,'yaxis')
      saveas(gcf,'sample2.png')
      Then
      
      [y,Fs] = audioread('sample3.wav');
      spectrogram(y,'yaxis')
      saveas(gcf,'sample3.png')
      
      posted in Coding Question & Answers
      Alan Daniel
      Alan Daniel
    • RE: How to retrieve data from a specific REST endpoint. (prefer using Python)

      @avan said in How to retrieve data from a specific REST endpoint. (prefer using Python):

      equests.get(url = URL)

      extracting data in json format

      data = r.json()

      Get value for blobJson

      blobJson = data[0]["blobJson"]

      Convert string to list

      yes, thanks! it works well!

      posted in Python
      Alan Daniel
      Alan Daniel
    • How to store a retrieved data in a database of my choice in my laptop using Python?

      How to process the retrieved data and store it in a database of your choice. This should be stored using a high-resolution index appropriate for the data type.

      posted in Python
      Alan Daniel
      Alan Daniel
    • RE: How to retrieve data from a specific REST endpoint. (prefer using Python)

      Hi, Thanks. It works.
      Is there any way to print only the first 2 data from a specific REST endpoint (no the entire data) .

      which only 2 element in blobJson

      posted in Python
      Alan Daniel
      Alan Daniel
    • How to retrieve data from a specific REST endpoint. (prefer using Python)

      My task from stretch:

      Retrieve sensor data from a specific REST endpoint. This would be achieved by using a HTTP GET issued against the following URL:

      https://ws1.chic.ulster.ac.uk/SensorCentral/REST/SensorDataRangeNanos/flgSh9oHnutzvZVOnnixFNjXIda2zula_101_101?startTs=1594297110372000000&endTs=1594297110372000000

      The format of the data provided by the REST ENDPOINT as below:

      50dbd127-2508-44c5-b167-aeb77189c798-image.png

      posted in Python
      Alan Daniel
      Alan Daniel