Community Profile

photo

James Metz


Last seen: 2년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계

All
  • Solver
  • Thankful Level 3

배지 보기

Feeds

보기 기준

문제를 풀었습니다


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

거의 3년 전

답변 있음
How can I choose both the color and shape of a line plotted and how it is represented in the legend??
Hey James, it's future you here. I'm here to tell you that you are a dummy who did not read the MATLAB resource page close enoug...

대략 3년 전 | 0

질문


How can I choose both the color and shape of a line plotted and how it is represented in the legend??
I know how to choose either the color or marker individually, but how can I choose both together (i.e. red squares)? I tried p...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


Extract Data From Imported Excel Sheet Containing Specific Numeric Values
Hi all. I have imported a large 655x6 data set from excel onto MATLAB and am now trying to extract certain data from the table. ...

대략 3년 전 | 답변 수: 1 | 0

1

답변

질문


How can I store values in empty matrix to plot later?
I am trying to simulate an epidemic model based on the SIR model. I am having trouble with my code. My graphs are not showing up...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


How to store values in a matrix to plot later?
I am trying to create a pandemic simulation to account for several variables, store these values in a single matrix, and then pl...

3년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Outputting cell vectors that contain specific information help?
I am trying to formulate a code that takes in input cell array of strings, evaluates the contents of each cell and outputs the c...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Output argument 'answers' (and maybe others) not assigned during call to "..."
I am trying to create a function that sums up all the values of the fibonacci series using only recursion, but I keep getting th...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


How do I make a function provide a ordered list?
I need to create a function that outputs and ordered list based on the length of the input. The input is a struct with field na...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Strings vs Char and array indices
Why do I keep getting this error message? Array indices must be positive integers or logical values. Error in movies_by_c...

대략 4년 전 | 답변 수: 1 | 0

1

답변

문제를 풀었습니다


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:...

대략 4년 전

질문


Cell Arrays and Indexing?
The goal of my code is to take an n-by-n logical array of values and output a cell vector containing the column indices of each ...

대략 4년 전 | 답변 수: 2 | 0

2

답변

질문


Cell arrays and Indexing with Cells HELP?
An assignment I have says... "An n-by-n square logical matrix can be represented by a cell vector of n elements where the kth e...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Cells and Cell vectors help?
An assignment I have says... An n-by-n square logical matrix can be represented by a cell vector of n elements where the kth el...

대략 4년 전 | 답변 수: 1 | 0

1

답변

질문


Storing doubles in the smallest integer class for which they fit without changing their value?
I am trying to create function that accepts an input array, A, and converts it to the smallest integer class for which it can be...

대략 4년 전 | 답변 수: 1 | 0

1

답변

답변 있음
I'm trying to create a code that determines whether a word (or phrase) is a palindrome. The code only needs to look at the actual letters within the input string, but I'm not sure how to do that.
For anyone looking for the right code for this question I have attached the code that worked: function palindrome = hw4_probl...

대략 4년 전 | 0

질문


I'm trying to create a code that determines whether a word (or phrase) is a palindrome. The code only needs to look at the actual letters within the input string, but I'm not sure how to do that.
The jist of the problem is to create a function that determines whether a string input is a palindrome by returning the logical ...

대략 4년 전 | 답변 수: 3 | 0

3

답변

답변 있음
I am trying to write a function that takes both an input vector and scalar (v and n respectively). It needs to output the maximum value of the sum of n consecutive integers of v, as well as the index of the first term in v.
For anyone still confused by the above answer, here is the complete code: function [max_sum, idx] = maxval(v, n) sums = movs...

대략 4년 전 | 0

질문


I am trying to write a function that takes both an input vector and scalar (v and n respectively). It needs to output the maximum value of the sum of n consecutive integers of v, as well as the index of the first term in v.
I am trying to write a function that takes both an input vector and scalar (v and n respectively). It needs to output the maximu...

대략 4년 전 | 답변 수: 2 | 0

2

답변