Morgan Blankenship
Followers: 0 Following: 0
Feeds
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
2 years 前
提问
Getting around &/| operator errors in optimization toolbox
I've got a variable (ER) defined as follows: ER = XO <= -(Lx-wx)/2 & YO <= -(Ly-wy)/2; % Bottom-left feature of unit ce...
3 years 前 | 0 个回答 | 0
0
个回答已解决
Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...
4 years 前
已解决
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
Submit your answer to this problem a multiple of 5 seconds after the hour. Your answer is irrelevant; the only thing that matte...
4 years 前
已解决
Energy of a photon
*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...
4 years 前
已解决
Polarisation
You have n polarising filters stacked one on top of another, and you know each axis angle. How much light gets passed through th...
4 years 前
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
4 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
4 years 前
提问
For loop optimization in matrix operations
I'm trying to figure out how to optimize 3 nested for loops with matrix operations. The problem boils down to: for ii = 1:1000 ...
4 years 前 | 1 个回答 | 0
1
个回答已回答
Creating a built in function?
So I have combined dpb's and Steven's answers into something that I think will change how I do my work for the better. I have te...
Creating a built in function?
So I have combined dpb's and Steven's answers into something that I think will change how I do my work for the better. I have te...
4 years 前 | 0
提问
Creating a built in function?
I'm sure literally everyone who doesn't know a solution to this has done exactly what I'm currently doing... I've got a speci...
4 years 前 | 3 个回答 | 0
3
个回答提问
How can I pass in variables into fsolve()?
Say I have some matrix 3x3 matrix, A, that is defined as: for ii = 1:length(layers+1) A(ii) = [k0^2*eO(ii)-ky^2-kz^2,k0^2*...
5 years 前 | 1 个回答 | 0