Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Coding Constraints: You may not use reshape) to solve Part 2. You must use FOR LOOPs. However, you may use embedded MATLAB syntax to check

image text in transcribed
image text in transcribed
image text in transcribed
Coding Constraints: You may not use reshape) to solve Part 2. You must use FOR LOOPs. However, you may use embedded MATLAB syntax to check your answer In one code, provide the solution to two separate parts . You may separate each section by the "clc; clear all; close al" header Upload your code to MOODLE using the Turn-it-in module for Homework #4 Also provide a hard copy of the homework solution Write universal codes Use for dem.txt for Part 1, and use dc.burn.out.txt for Part 2 PART My student is setting up her model area centralized over CSULA (Figure 1). She downloaded the digital elevation model (dem) that has elevation measurements within a gridded area The dem information is provided in dem.txt rocessing datase X-Directional Slopes Y-Directional Slopes 0.5 0.5 200 200 400 600 800 1000 1200 1000 1200 1400 200 400 600 800 1000 1200 200 400 600 800 1000 1200 Figure 1. (a) x-slope product, and (b) y-slope product Preprocessing the dataset prior to hydrologic modeling requires generating a 2Dx directional slope file and y-directional slope file .Load the dem.txt dataset and set equal to z The first 6 values of the dem.txt file include the reference coordinates and cell size Set variable cellsize equal to the cell size recorded in the file (do manually or figure out how to automate) Create a zero matrix, xslope, with dimensions equal to the size of the dataset Coding Constraints: You may not use reshape) to solve Part 2. You must use FOR LOOPs. However, you may use embedded MATLAB syntax to check your answer In one code, provide the solution to two separate parts . You may separate each section by the "clc; clear all; close al" header Upload your code to MOODLE using the Turn-it-in module for Homework #4 Also provide a hard copy of the homework solution Write universal codes Use for dem.txt for Part 1, and use dc.burn.out.txt for Part 2 PART My student is setting up her model area centralized over CSULA (Figure 1). She downloaded the digital elevation model (dem) that has elevation measurements within a gridded area The dem information is provided in dem.txt rocessing datase X-Directional Slopes Y-Directional Slopes 0.5 0.5 200 200 400 600 800 1000 1200 1000 1200 1400 200 400 600 800 1000 1200 200 400 600 800 1000 1200 Figure 1. (a) x-slope product, and (b) y-slope product Preprocessing the dataset prior to hydrologic modeling requires generating a 2Dx directional slope file and y-directional slope file .Load the dem.txt dataset and set equal to z The first 6 values of the dem.txt file include the reference coordinates and cell size Set variable cellsize equal to the cell size recorded in the file (do manually or figure out how to automate) Create a zero matrix, xslope, with dimensions equal to the size of the dataset

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 3 Lnai 6323

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

3642159389, 978-3642159381

More Books

Students also viewed these Databases questions

Question

List six ways that simulation can be used in business?

Answered: 1 week ago

Question

Define Management by exception

Answered: 1 week ago

Question

Explain the importance of staffing in business organisations

Answered: 1 week ago

Question

What are the types of forms of communication ?

Answered: 1 week ago

Question

Explain the process of MBO

Answered: 1 week ago

Question

5. Understand how cultural values influence conflict behavior.

Answered: 1 week ago

Question

8. Explain the relationship between communication and context.

Answered: 1 week ago