Community Profile

photo

Calvin Chang


Last seen: 7 months ago
7 total contributions since 2019

Calvin Chang's Badges

  • First Review
  • Thankful Level 1

View details...

Contributions in
View by

Question


Reshape: Math lesson help
Can someone help me with a mathmatics problem? I have a 5x50 matrix? similar to that of a 5x5x10, but instead of columns the ...

2 years ago | 1 answer | 0

1

answer

Question


save a single subplot from a .mat file that contains 2x1 subplots
I have a saved .mat figure with two subplots as a 2x1. I have no access to the code. What is the fastest way to get the 1x1 subp...

2 years ago | 1 answer | 0

1

answer

Question


What is causing the reshaping error?
I was playing with the number n, and sometime reshape gives an error when it is too small? Can somone help me deduce what is act...

2 years ago | 1 answer | 0

1

answer

Question


Most efficient way to convert from binary to dec without bin2dec or bi2de
Is there a faster way to acomplish the following? The idea is to have an array of 5 bit inputs and convert each sequence of bits...

2 years ago | 1 answer | 0

1

answer

Question


Iterating through an array without using a for loop
I want to index through theta and assign each index a random value without using a forloop. Is there a better and faster way to ...

2 years ago | 1 answer | 0

1

answer

Question


Plotting without Specifying a set x range
The following code should work. Why doesn't it work? How can I make this work? x=[0 1 2 3 4]; y=[2 9/4 38/17 161/72 682/305]; ...

2 years ago | 0 answers | 0

0

answers

Question


Indexing error when using the plot function.
Super basic, but what is wrong with the code below? I'm not understanding. Multiple tutorials state that the code below should b...

2 years ago | 1 answer | 0

1

answer