Answered
writetable - wrong number of arguments
<https://www.mathworks.com/help/matlab/ref/fullfile.html>

6 years ago | 1

| accepted

Answered
How to became my Tridiagonal matrix
[m, n] = size(B); ix = (1 : 2*m : n*2*m) + (0 : n - 1).'; Wanted = zeros(2*m - 1 , n); Wanted(ix) = B

6 years ago | 0

Answered
Identify the minimum number of rows in a matrix meeting a condition
According to what I understood, see if this does what you want to do: [a, b] = unique(A, 'rows', 'stable'); s = sum(a, 2);...

6 years ago | 0

Answered
How to count number of days within datetime array
Use <https://www.mathworks.com/help/matlab/ref/timetable.retime.html;jsessionid=6ccf4bc9f13a49616ef1806d4311#bvdhiwr-method *ret...

6 years ago | 0

Answered
HOW TO WRITE THE FUNCTION FOR ODE45
ode45(@velocityspinsolver, [0,10],[1,1]) function dvdt=velocityspinsolver(t,y) y = zeros(2,1); vx = y(1); vy = y(2); ...

6 years ago | 0

| accepted

Answered
Error integrating the sine function
ERROR = abs(y2(:) - [pi / 4 pi / 20 pi / 100])

6 years ago | 0

| accepted

Answered
Resources for online teaching
Search with the tag *distance_learning* within this forum, you will find lots of resources and tips to teach.

6 years ago | 0

Answered
store all values of variable
Rep_veh = rand(100,1); Rep_veh1 = rand(100,1); Rep_veh2 = rand(100,1); MEAN =(Rep_veh+Rep_veh1+Rep_veh2)/3; c = {'repor...

6 years ago | 0

| accepted

Answered
For loop for three variables
<https://matlabacademy.mathworks.com/selfpaced/gettingstarted?s_tid=course_mlor_start1>

6 years ago | 0

Answered
Can anyone help me? error : Undefined function or variable 'funcPMSMStator'.
funcPMSMStator(...) % need time call with the inputs doc function % please read it

6 years ago | 1

| accepted

Answered
How to resize plot axis by removing scientific notation
ylim([0, 10e-3])

6 years ago | 0

| accepted

Answered
The data cannot be plotted because it is incompatible with the size
clear tf F = figure(1); step(G) shg

6 years ago | 0

Answered
Concatenate numbers with separation
string(L(I)) + "AND" + string(L(J)) % where L(I) and L(J) are column vectors %or doc sprintf

6 years ago | 0

Answered
Link latex equation to code
Use livescript

6 years ago | 0

Answered
Performing a function (such as standard deviation) on groups of data
[~, ~, c]= unique(Run, 'stable'); % Run is without zeros STD = accumarray(c, (1:numel(Data)).', [], @std) %or STD = split...

6 years ago | 0

Answered
how to save loop data in one excel file?
writetable(array2table(y1, 'VariableNames', {'f', 'rl', 't'}), '\Desktop\sample.xlsx')

6 years ago | 0

Answered
how can one set default fonts for plots?
<https://www.mathworks.com/matlabcentral/answers/317461-what-font-does-matlab-use#answer_247780>

6 years ago | 0

Answered
Data types of arrays in a function
if all((-128<=A)& (A<=127)) A=int8(A); B=A; else B=(A); end ...

6 years ago | 0

Answered
How to get number of factors after factorizing a symbolic function?
numel(formula(F)) % will avoid confusions ;)

6 years ago | 0

| accepted

Answered
How to write data into .txt file
doc writematrix % after converting your data into a table %or doc dlmwrite

6 years ago | 0

Answered
Why can't i integrate this function?
Too complicated for MATLAB to solve it.

6 years ago | 1

| accepted

Answered
Find the sum of all diagonal values ​​in a matrix?
doc diag doc sum

6 years ago | 0

Answered
Using factor on symbolic expression but not always factorizing
factor(s^2+4*s+1,s, 'FactorMode', 'real')

6 years ago | 0

| accepted

Answered
I want to load sever flies and save them to individual variables not located in a single structure or cell.
Here's why you shouldn't!! https://www.mathworks.com/matlabcentral/answers/304528-tutorial-why-variables-should-not-be-named-dy...

6 years ago | 0

Answered
Rounding symbolic 4x4 matrix
ceil(double(T_06)) doc floor % and some of its relatives

6 years ago | 0

| accepted

Answered
Saveas function with .mat file
save not saveas doc save

6 years ago | 0

Answered
What is the meaning of ":"?
doc colon

6 years ago | 0

| accepted

Answered
How to sum data and combine with date?
<https://www.mathworks.com/help/matlab/ref/timetable.retime.html;jsessionid=29a64a3df5f2e9ec573dfe874776#bvgtiye *retime()*> use...

6 years ago | 0

| accepted

Answered
change text colour in foreground of line plot
text(.2,.7,'Echt toll! Nik Rocky','Color','g')

6 years ago | 0

Load more