Community Profile

# Swati

##### Last seen: Today
229 total contributions since 2019

Getting addicted to MATLAB Cody! Having a great time here since I've discovered Cody! :)

Professional Interest: Mathematics, Coding, Image processing using MATLAB, Power Electronics Converter Design

View details...

Contributions in
View by

Solved

Draw a '9' in a zero matrix!

21 days ago

Solved

Draw a '6' in a zero matrix!

22 days ago

Solved

Draw a '7' in a zero matrix!

24 days ago

Solved

Draw a '8' in a zero matrix!

24 days ago

Solved

Draw a '3' in a zero matrix!

24 days ago

Solved

Draw a '2' in a zero matrix!

24 days ago

Solved

Draw a '5' in a zero matrix!

24 days ago

Solved

Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

24 days ago

Solved

Draw a '0' in a one matrix!

24 days ago

Solved

Draw a '4' in a zero matrix!

24 days ago

Solved

Draw a '1' in a zero matrix!

24 days ago

Solved

the average value of the elements
Calculate the average value of the elements in the array

24 days ago

Solved

Is A the inverse of B?
Given a matrix A and a matrix B, is A the inverse of B? >>A=[2,4;3,5]; >>B=[-2.5,2;1.5,-1]; >>isInverse...

24 days ago

Solved

Find the max element of the array
Find the max element of the array

24 days ago

Solved

to the 2 all elements
to the 2 all elements

24 days ago

Solved

calculate the length of matrix
input 1 array, calculate the length

24 days ago

Solved

Double all elements in the array
Duplicate all elements in the array

24 days ago

Solved

Matlab Basics - Rounding II
Write a script to round a variable x to 3 decimal places: e.g. x = 2.3456 --> y = 2.346

2 months ago

Solved

MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

2 months ago

Question

How can I use symbolic variables while solving problems of MATLAB Cody?
syms x x0 = 0.2; f = cosh(x)/ (cosh(x0)-cosh(x))^0.5 I = int(f,0,x0); I Can someone verify this code snippet? This code ...

3 months ago | 1 answer | 0

### 1

Solved

Back to basics 6 - Column Vector
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector, output true or false whether it is a colu...

3 months ago

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

3 months ago

Solved

Speed of car
Calculate the Speed of car given its Distance travelled and time taken in x and y respectively

4 months ago

Solved

Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

4 months ago

Solved

Sum the 'edge' values of a matrix
Sum the 'edge' values of an input matrix (the values along the perimeter). Example [1 2 3 4 5 6 7 8 9] Output = ...

4 months ago

Solved

Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

4 months ago

Solved

Area of an Isoceles Triangle
An isosceles triangle has equal sides of length x and a base of length y. Find the area, A, of the triangle. <<https://imgur...

4 months ago

Solved

Temperature Conversion 3

4 months ago

Solved

Temperature Conversion 2

4 months ago

Solved

Temperature Conversion 1

4 months ago