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

3 visualizzazioni (ultimi 30 giorni)
mary freiling il 18 Nov 2013
Commentato: Steven Lord il 28 Ago 2020
"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 CommentiMostra 3 commenti meno recentiNascondi 3 commenti meno recenti
Steven Lord il 28 Ago 2020
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.

Accedi per commentare.

### Risposte (1)

Yash il 21 Nov 2013
Do you need the code for this question?
##### 2 CommentiMostra 1 commento meno recenteNascondi 1 commento meno recente
Om Dariya il 27 Mar 2019
yes sir, i need code for this question .

Accedi per commentare.

### Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

### Community Treasure Hunt

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

Start Hunting!