photo

Joshua


Last seen: 9ヶ月 前 2023 年からアクティブ

Followers: 0   Following: 0

統計

  • Thankful Level 3

バッジを表示

Feeds

表示方法

質問


I have a matrix and a Structure array. I want to export them as an Xlsx file, with the matrix on sheet one and the Structure array on sheet two
struct with fields: W_HP: 211.85 W_LP: 244 W_P1: -1.8104 ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


why am I getting the error "Incorrect number or types of inputs or outputs for function 'solve'."
my code is; syms d; s=solve('7*d + 3*e=71','d + 2*e=20'); s=[s.d s.e]; disp('1 dollar = '); s(1) disp('Eullar'); I am ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


I need my code to loop while my input is binary (ones and zeros). once the user inputs any other value then the loop should stop.
bin = input('Input binary number: ','s'); index = 1; while index >= length(bin) | index <= length(bin); D = bin2dec(bin) ...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


I am getting the error Unrecognized function or variable 'rankin'. and the error This statement is incomplete.
format shortG rankine = xlsread('input.xlsx','B2:I10'); rankine(1,1) = rankine(9,1); rankine(1,4) = XSteam('h_pt',rankine(1...

1年以上 前 | 1 件の回答 | 0

1

回答

質問


I have a .xls file that I have imported and I am needing to remove the min number from each row. going down by each row.
grades = xlsread('gradedata.xls'); B = grades.' B(sub2ind(size(B),1:size(B,2))) = []; B = reshape(B,[],size(grades,1)).' Thi...

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

1

回答

質問


I made a logarithmic graph, and I want to add a continuous linear line that follows the equation y = x with x values from 1 to N.
Below is my code. My issue is that my continuous line is not showing on my graph. Since the log and linear plots are of diffrant...

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

1

回答

質問


Attempt to grow array along ambiguous dimension. it happens when N,M are smaller then the total of A,B. can I make my code work for any value of N,M? if so how would I do that
N=5; M=4; A=[1 2 5 9 ; 23 23 874 243; 5 4 6 7; 5 09 23 31]; B=[7 8; 9 10; 12 11]; C=sort([A(:); B(:)]); res=...

2年弱 前 | 3 件の回答 | 0

3

回答