Hye Sun Choi
自 2017 起处于活动状态
Followers: 0 Following: 0
Feeds
提问
Help debugging a code? Says function makes an error but when I run it, it returns the correct output...
I'm having trouble with the following assignment: Write a function called sort3 that takes a 3-element vector as its sole arg...
7 years 前 | 1 个回答 | 0
1
个回答提问
How to have an arbitrary vector as your input for your function?
Currently have the following snippet of my code: function output =sort3(A) A= [a b c] if (a<=b)&& (b<=c) if a<b && b...
7 years 前 | 1 个回答 | 0
1
个回答提问
Having trouble with my outputs giving me 4 decimal points when I only want 2?
I'm trying to answer the following homework question: Write a function called fare that computes the bus fare one must pay i...
7 years 前 | 2 个回答 | 0
2
个回答提问
Having trouble understanding what the "[]" command in min(X,[],1) does. Can anyone help?
Looked it up on help min, got the following: [Y,I] = min(X,[],DIM) operates along the dimension DIM. Could someone expand on wha...
7 years 前 | 1 个回答 | 0