Community Profile

photo

furcifer


Last seen: 3 years ago Active since 2018

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Switch Case with a range of letters?
OK, I'm just playing with some code. Here's the code: clear, clc; while 1 n = input('Type a Word Starting With a Capital ...

5 years ago | 3 answers | 0

3

answers

Question


if, or or or or or
I'm just wondering if Matlab can string together "or" statements? The current code for a simple menu is using userinput = inp...

5 years ago | 2 answers | 0

2

answers

Question


Create a vector with a user inputted increment.
Is there an operator like linspace that creates a vector based on a chosen increment? I have to create an array based on 3 input...

5 years ago | 1 answer | 0

1

answer

Question


no input, two output function
The first part of this assignment is to create a function with no inputs and two outputs. The 15x1 matrices are X and Y so I've ...

5 years ago | 1 answer | 0

1

answer

Question


Output Array, how to assign values from a function
I'm new to coding so just assume I know next to nothing. I've created my code for an assignment and have what I want, I don't do...

5 years ago | 1 answer | 0

1

answer

Answered
When I run my function I want a row vector not a column
Yes, that's exactly it! Thank you for the help everyone. eta: I'll use "zeros" and leave it defined as it is, but it's the a...

5 years ago | 0

Answered
When I run my function I want a row vector not a column
Here's what I have: function [n] = num(k) n(1)=1; n(2)=1; k = 3; while k <=100 n(k) = n(k-1)+n(k-2); ...

5 years ago | 0

Question


When I run my function I want a row vector not a column
I have a simple function that generates large numbers. The ans is a column vector but I want a row. ans' changes it to what I wa...

5 years ago | 3 answers | 0

3

answers