photo

Emanuele Joy


2018년부터 활동

Followers: 0   Following: 0

통계

  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Summing the diagonal of a matrix "the other way"?
I don't know if I'm wording it correctly, but I'm trying to sum the diagonal of a matrix the other "direction" than the diag(A) ...

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

1

답변

질문


Filling results from for loop into an array/matrix?
I have this function that computes the coefficients of a polynomial of a certain degree: n = input('Degree of polynomial: '...

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

1

답변

질문


Finding coefficients from factorized polynomial?
I have a simple factorized polynomial z = (x+y)^n and I'm trying to find the coefficients for any "n", so I wrote the following ...

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

1

답변

질문


How to assign values in an identity matrix?
Simple question, but say I have a 3x3 identity matrix: I = eye(3) I = 1 0 0 0 1 0 0 ...

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

1

답변

질문


Finding equation parameters from data set?
I have a data set of x and y: x = [2.0, 2.5, 3.0, 3.5, 6.0, 6.1, 8.5, 8.6, 9.9, 10.0]; y = [0.001, 0.006, 0.032, 0.180, 1E...

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

1

답변

질문


Changing function file to get the k-th element of 1st row of a .txt file and adding another parameter?
I have a function that reads in a .txt file of candy names, cost, amount, and the total number of candy types. What I want to do...

6년 초과 전 | 답변 수: 0 | 0

0

답변

질문


Quick Question: Writing equation with mod function
I'm trying to interpret this equation: z = (x + y) % 26 to MATLAB formatting. The % is modulus division, so I know I'm suppos...

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

1

답변

질문


Reading .csv with dlmread? (I'm doing something wrong)
I'm trying to read this CSV file, attached below. I tried: x = dlmread('tse2001to2020.csv',',',2,1) Because I'm trying to...

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

1

답변

질문


Opening different files in for loop with dlmread?
I'm trying to open .txt files caesar1, caesar2, and caesar3 in a for loop. for k = 1:3 N = string([1,2,3]); caesa...

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

1

답변

질문


Function file that removes a character in a string?
So I'm tasked to make a function file that removes a dash (-) from a string, and I'm not allowed to use strrep for some reason (...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


How to create function file that makes replacements to a string?
Like, if I have a string = 'Bobs-Burgers', and I want to make a function file to remove the dash to yield 'BobsBurgers', how do ...

거의 7년 전 | 답변 수: 2 | 0

2

답변

질문


Using dlmwrite to save data?
My dlmwrite function seems to not be able to run. To my understanding, dlmwrite is used to write a new .txt file containing the ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

질문


How to split a matrix in two halves?
For example, if I have matrix: A = [5, 9, 25, 2, 21, 36]; and I want matrices: B = [5, 9, 25]; C = [2, 21, 36]; What ...

거의 7년 전 | 답변 수: 1 | 0

1

답변

답변 있음
Evaluating polynomial at a certain x point to find y?
You're golden. I keep forgetting when to use the interp1 function. Thank you so much!

거의 7년 전 | 0

질문


Evaluating polynomial at a certain x point to find y?
Hi all, so I have a script that evaluates the 1st through 4th degree polynomials of a given dataset of volume of liquid vs vol. ...

거의 7년 전 | 답변 수: 3 | 0

3

답변

질문


How to wrap for loop around function commands and fplot?
So I'm writing a script that fits a polynomial and plots a given a set of data and I figured out how to do it for a chosen degre...

거의 7년 전 | 답변 수: 1 | 0

1

답변