Community Profile

photo

Emanuele Joy


2018 年からアクティブ

統計

  • Thankful Level 3

バッジを表示

Content Feed

表示方法

質問


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

6年弱 前 | 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 ...

6年弱 前 | 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 ...

6年弱 前 | 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!

6年弱 前 | 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. ...

6年弱 前 | 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...

6年弱 前 | 1 件の回答 | 0

1

回答