Community Profile

photo

Raul Flores


Last seen: mer än 3 år ago Active since 2020

Followers: 0   Following: 0

Statistics

Feeds

View by

Question


my code is not working...
function HW2CH3(x) y = linspace(0,x); n = lenght(y); for i = 1:n uy(i) = -5/6.*(sing(y(i),0,4)-sing(y(i)...

nästan 4 år ago | 1 answer | 0

1

answer

Question


my code won't run or publish
m = 2; n = 1; hold on for i = 1:100000 q = 3*rand(1); if q < 1 m = m/2; n = n/2; elseif q < 2 ...

nästan 4 år ago | 1 answer | 0

1

answer

Question


Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.
I don't really get what is wrong with this code: clear all; close all; clc; L = 200; %length of beam in cm E = 52000...

ungefär 4 år ago | 2 answers | 0

2

answers