1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Kruka [31]
4 years ago
9

Write a script that will read from a file x and y data points in thefollowing format:

Computers and Technology
1 answer:
worty [1.4K]4 years ago
8 0

Answer /Explanation

load hw92.dat

FID = fopen(file, 'r');

if FID == -1  

   fprintf('ERROR CANNOT OPEN FILE TO READ!');  

else

   fclose(file);

The we have:

datacell = textscan(FID, 'x%fy%f', 'CollectData', 1);

xycoords = datacell{1};

x 0 y 1

x 1.3 y 2.2

x 2.2 y 6

x 3.4 y 7.4

x 4.2 y 5.5

x 4.4 y 4.5

x 6.2 y 7.8

x 7.7 y 11.1

x 8.2 y 11.5

x 9.9 y 15.2

x 7.2 y 9.5

x 8.9 y 12.5

end

You might be interested in
Web browsers are used to browse the World Wide Web. <br> True or false
irakobra [83]
It's true. When you use an adress link you can see that it begin with www and that means world wide web
8 0
3 years ago
Read 2 more answers
What aspect should you consider before adding pictures to a document? You should structure the first before you search for a rel
suter [353]

Answer:make sure it line up with tour essay

Explanation:

5 0
3 years ago
A ____ is a group of similar or identical computers, connected by a high-speed network, that cooperate to provide services or ru
ziro4ka [17]

Answer:

Computer cluster

Explanation:

Computer cluster is a group of computers which are connected together through high speed local area network into a single system. The member of a cluster usually share the same hardware and operating system and they work together to perform a same task. Computer cluster is designed to offer high performance and availability which cannot be achieved by a single computer. This is particularly important to solve a complex problem that require a very high computational cost and volume.

7 0
3 years ago
Designer can be thought of as the ____ of video game development
Anna007 [38]
Your answer would be A. Architects 
8 0
4 years ago
In a wireless transmission data travels on invisible radio waves. true or false
vazorg [7]
<span>This is true. Radio frequency waves are not of high energy like visible light, and therefore, people cannot see them directly. They are made up of electromagnetic radiation, and their wavelengths in the electromagnetic spectrum are longer than infrared light.</span>
6 0
4 years ago
Other questions:
  • Widely spaced isobars often indicate ________.
    14·2 answers
  • In the lab, you used the filter box in Wireshark to remove traffic from port 3389. What is that port used for? What filter synta
    12·1 answer
  • Explain why implementing synchronization primitives by disabling interrupts is not appropriate in a single-processor system if t
    14·2 answers
  • Based on the Pizza database you imported, complete the SQL statement below to add the column VIP to the customers table. The cus
    8·1 answer
  • Pass only _____ at a time.
    13·2 answers
  • The enhanced for loop _____ Group of answer choices reduces the number of iterations necessary to visit all elements of an array
    12·1 answer
  • A router periodically goes offline. Once it goes offline, you find that a simple reboot puts the router back online. After doing
    12·1 answer
  • How do I get the pictures from my old Samsung phone to put on my iPhone? The Samsung is turned off. Is there a way to transfer i
    8·1 answer
  • A _____ focuses on creating software systems like tools, utilities, antivirus programs, and operating systems.
    12·2 answers
  • Which sql keyword is used to retrieve a minimum value from an attribute in a table
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!