Answered
Finding min and max values in a structure
d=struct2cell(yourStruct); m=0;M=0; for k=1:length(d) m=min([m,d{k}]); M=max([M,d{k}]); end

4 years ago | 0

Answered
Upload files with almost the same name in different components of a matrix
for k=1:1e4 s=sprintf('%08d.txt',k); spin(:,:,k)=load(['D:\Magnetic-Distribution\spins-',s]); end

4 years ago | 0

Answered
I need help randomizing the points of the traingle
figure;hold on; for k=1:10 p=polyshape(rand(3,1),rand(3,1)); plot(p) end

4 years ago | 0

Solved


Sum the unitary divisors of a number
Cody Problems 1933 and 46898 deal with , the sum of divisors function. This problem deals with , the sum of unitary divisors fun...

4 years ago

Solved


calculate the perimeter for a triangle with two equal sides
calculate the perimeter for a triangle with two equal sides where the equal sides are x and the other one is z

4 years ago

Solved


area of a triangle
area of a triangle, given x as a side

4 years ago

Solved


perimeter of a square

4 years ago

Solved


volume of a cone
create a program that allows us to calculate the volume of a cone using radius "r" and height "h"

4 years ago

Solved


perimeter of a trangle
g

4 years ago

Solved


elevate a number to its square
square

4 years ago

Solved


find the area of a triangle from its sides
pythagorean theorem

4 years ago

Solved


perimeter of a rectangle
perimeter of a rectangle where each side is 12 and its height is 31

4 years ago

Solved


multiplication of two variables
mutliplication of two variables

4 years ago

Solved


resta de dos numeros
restaa

4 years ago

Solved


calculate the perimeter for a triangle with no equal sides
calculate the perimeter for a triangle with no equal sides (x,z,s)

4 years ago

Solved


perimeter of a football field
what formula should someone use if they are trying to find the perimeter of a footbal field

4 years ago

Solved


area of a circle
area of a circle with "r" as radius

4 years ago

Solved


Count the unitary divisors of a number
Cody Problem 56738 asks for a list of the unitary divisors of a number. For this problem, write a function to count the unitary ...

4 years ago

Solved


List unitary divisors of a number
A unitary divisor of a number divides and satisfies gcd(,) = 1. For example, 9 is a unitary divisor of 18 because gcd(9,2) = ...

4 years ago

Solved


freeeeee
free points

4 years ago

Solved


Determine if a given input is even or odd?
Given an input, determine if even or odd.

4 years ago

Solved


sum of vectors
sum of vectors

4 years ago

Solved


area of a cube
area

4 years ago

Answered
Convert cell into double
Try using the following. m=readmatrix('yourData.txt','DecimalSeparator',',');

4 years ago | 1

Answered
Help me plot grafic pls.
What is R? The solution does not match your graph. x=.5; t=0:.0025:.07; n=(1:100)'; H=1./n.^2.*sin(n*pi/1.5).*cos(100*n*pi/1...

4 years ago | 0

Solved


Coefficient of Kinetic friction
A robot exerts a F1 lb. force horizontally on a W lb. crate across a concrete floor at a constant speed. What is the coefficien...

4 years ago

Answered
Im trying to use gradient decent with a for loop to determine the value of x that minimizes the function
iterations = 10; alpha = 0.15; x = zeros(iterations,1); x(1) = -1; ...

4 years ago | 1

Answered
subplot timeseries for mean monthly temperature, max monthly temperature and minimum monthly temperature
With matrix rows: year, month, min, mean, max f=find(diff(data(3,:))<0); f=[0,f,size(data,2)+1]; monthlyData=zeros(5,length(f...

4 years ago | 0

Solved


Acid-Base Chemistry: Which side of the reaction is more favorable?
In an Acid-Base reaction, there is always going to be an acid, a base, a conjugate acid, and a conjugate base. When provided wit...

4 years ago

Answered
Replicate matrix elements without for loop
base =[1 2; 3 4]; repelem(base,2,2)

4 years ago | 0

| accepted

Load more