Feeds
提问
Switch case transition statement
Hi, I am trying to genertae a switch ..case statement Switch switchExpression case 1 if ifConditionstatemnet /If...
6 years 前 | 2 个回答 | 0
2
个回答提问
overly convoluted elseif condition
Hi, I am writing a code that uses too many else if conditions.I am wondering is there an easy way to that. function y=gain(x)...
6 years 前 | 3 个回答 | 0
3
个回答提问
matrix comparison and substitute value
Hi, I have one matrix A=[4 2 3 9 5 6] I have another vector b=[1 0]. I want to compare the first column of A with b, an...
6 years 前 | 1 个回答 | 0
1
个回答提问
function with object as input
Hi, I am trying to write a function that will have the object as input . This is teh code body- function Tx(obj) obj.control.s...
6 years 前 | 0 个回答 | 0