Can someone write this out in matlab format so i can check my answer

조회 수: 1 (최근 30일)
mary freiling
mary freiling 2013년 11월 18일
댓글: Steven Lord 2020년 8월 28일
"Use loops and conditional statements to create a 5 x 8 matrix in which the value of each element is equal to the square root of the sum of the element’s indices unless the element is in an even-numbered column or row. The value of an element in an even-numbered column or row is equal to the sum of the element’s indices squared. (The indices of an element in a matrix are the row number and column number of the element.)"
  댓글 수: 4
Steven Lord
Steven Lord 2019년 3월 27일
Since this sounds like a homework question (and is tagged "homework") we won't simply provide code. If you're having difficulty show us what you've tried so far and ask a specific question about where you're having trouble and we may be able to offer some suggestions for how to proceed.
Steven Lord
Steven Lord 2020년 8월 28일
This sounds like a homework assignment. If it is, show us the code you've written to try to solve the problem and ask a specific question about where you're having difficulty and we may be able to provide some guidance.
If you aren't sure where to start because you're not familiar with how to write MATLAB code, I suggest you start with the MATLAB Onramp tutorial (https://www.mathworks.com/support/learn-with-matlab-tutorials.html) to quickly learn the essentials of MATLAB.
If you aren't sure where to start because you're not familiar with the mathematics you'll need to solve the problem, I recommend asking your professor and/or teaching assistant for help.

댓글을 달려면 로그인하십시오.

답변 (1개)

Yash
Yash 2013년 11월 21일
Do you need the code for this question?
  댓글 수: 2
Image Analyst
Image Analyst 2013년 11월 21일
No, she supposedly already has created an answer.
Om Dariya
Om Dariya 2019년 3월 27일
yes sir, i need code for this question .

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by