Answered
Calling a string from string array
title(s(3)) % s your string array

6 years ago | 0

| accepted

Answered
Symbolic toolbox not simplifying adequately
syms alpha F R simplify((3*F*R^2*alpha)/64 - 3*R*sqrt(F^2*R^2*alpha^2)/64,... 'IgnoreAnalyticConstraints', true)

6 years ago | 0

| accepted

Answered
How to insert a columns of NaNs in between a matrix at multiple places
[m, n] = size(matrix); Wanted = nan(m, n + numel(col_pos)); Wanted(:,setdiff(1:size(Wanted,2),col_pos)) = matrix

6 years ago | 0

| accepted

Answered
Create a column with different variables for certain groups of column?
a = 52:54; % example Wanted = repelem(a,280,1)

6 years ago | 0

| accepted

Answered
Solving two equations with 2 unknows
x = fsolve(@RootS, [1; 2]) function X = RootS(x) D0 = 500; Cp = 30; t = 8; Vd = 10; Ka = x(1); Ke = x(2); eq1 = 1/(Ke...

6 years ago | 0

Answered
Solve system of 2nd order differential equations with initial conditions
syms phi1(t) phi2(t) g = 9.8; m = 1; k = 1; c = 1; l = 1; l0 = 0.75; dphi1=diff(phi1,t); dphi2=diff(phi2,t); eq1 =...

6 years ago | 0

| accepted

Answered
how to create an array from a given array with the following criteria.
a = 1:3 Wanted = reshape(cumsum([a; ones(4,numel(a))]),1,[])

6 years ago | 1

| accepted

Answered
How to combine three vectors to a single date vector
datetime(Year,Month,Day)

6 years ago | 0

| accepted

Answered
How to find the corresponding value?
[Max, Where] = max(a); b(Where) https://www.mathworks.com/learn/tutorials/matlab-onramp.html - worth doing it

6 years ago | 0

| accepted

Answered
Why is my subplot title in bold?
<https://www.mathworks.com/help/matlab/ref/matlab.graphics.illustration.subplot.text-properties.html#mw_ca9c0e63-ba43-488d-8c38-...

6 years ago | 0

Answered
Index in position 1 exceeds array bounds (must not exceed 1).
*Para* is a row vector according to your error message.

6 years ago | 0

Answered
How do I take the sum of three 13x13x13 matrices using the summation function?
% A , B & C 13 X 13 X 13 a = {A,B,C}; Wanted = sum( cat(4, a{:}), 4)

6 years ago | 0

| accepted

Answered
criteria to use a while-loop
"What are criteria to use a while-loop?" If you don't know when the condition is satisfied. https://www.mathworks.com/matlabce...

6 years ago | 0

Answered
How to create a matrix from multiples of submatrice?
Z = reshape(rv,1,1,[]) .* diag(Alpha); Wanted = reshape(Z,numel(rv),[]).'

6 years ago | 1

| accepted

Answered
How to Save multiple results into one array
xvalue = cell(numel(x),1); for ii = 1:numel(x) xvalue(ii) = mink(abs(Lx-x(ii)),2); end celldisp(xvalue) cat(2,xvalue{:...

6 years ago | 1

Answered
Invalid Expression "3.57e2.1"
You can’t use a decimal value for scientific notation.

6 years ago | 1

Answered
how to separate positive and negative integer
Positive = r(imag(r)>0) Negative = r(imag(r)<0)

6 years ago | 0

| accepted

Answered
How to make NaN data
c(c<0) = NaN

6 years ago | 0

| accepted

Answered
Implementing arrayfun for the yline function
figure(1) arrayfun(@(x, y) yline(x, y), [4 5], ["--", "-."]) ylim([0,6])

6 years ago | 0

| accepted

Answered
read spreadsheet, delete some variables, and save the spreadsheet
T = readtable('test.csv'); writetable(T(:,1:2), 'test2.csv')

6 years ago | 0

Answered
A basic question about the counter
counts = 0; % before loop counts = counts + 1; % inside else part

6 years ago | 0

Answered
Data comparison and selection the smallest
5-1

6 years ago | 0

Answered
Removing first row from txt file
data=('myfile.txt'); %sets variable data = readtable(data) %displays table x = data{:,1}; %sets x to column ...

6 years ago | 0

| accepted

Answered
merge two columns into one, Part 2
nansum([A, B],2) %or sum([A, B],2,'omitnan')

6 years ago | 0

| accepted

Answered
merge two columns into one
A + B %or sum([A, B],2)

6 years ago | 0

| accepted

Answered
How can i solve this exam practise question
doc mink doc maxk doc sum

6 years ago | 0

Answered
Create a matrix through replacement, from another matrix
B = A(randi(numel(A),size(A)))

6 years ago | 0

| accepted

Answered
비선형방정식의 해 값을 간결하게 표현하려면 어떻게 해야하나요?
double(solution) %or vpa(solution)

6 years ago | 0

| accepted

Load more