Réponse apportée
How to convert an expression to a function with lossless precision?
vpa(f_func(sym(sol1), sym(sol2)))

presque 6 ans il y a | 0

Réponse apportée
Help... what is my mistake and what should i do now?? please
Since you have shown efforts: too_young = under_age(2, []) % [] means no limit was given function too_young = under_age(...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How do I have input an evenly spaced vector.
doc linspace

presque 6 ans il y a | 0

Réponse apportée
perform matrix operation without for loop
xe = exp(reshape(beta, 1, 1, []) .* exp_data) .* (exp_data > 1.5) + 1 * (exp_data <= 1.5); % use bsxfun() for implicit expansio...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
after how many terms does an equation have the same five decimals as pi/4?
if abs(p - pi/4) < 1e-5 Look through the tag floating-point to know why tolerance is used to compare decimals.

presque 6 ans il y a | 0

| A accepté

Question


Viewing figure is not possible.
Why can't I view the figure? P.S: The following is just to familiarise with Python in MATLAB environment. System: MacOs. >> p...

presque 6 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Cell array variable problem
Structure_Global_Stiffness{kk,zz}(~eye(3)) = 0;

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Error: The input character is not valid in MATLAB statements or expressions.
Change " to '

presque 6 ans il y a | 1

Réponse apportée
How to convert first cell value into zero
cell_array(cellfun(@isstring, cell_array)) = {0}

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Implementation of formula in a single line.
_“Implementation of formula in a single line.”_ Z = (L * A * (exp(X) - 1)) .* (X < 0) + (L * X) .* (X >= 0);

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Defining Variables In a Function
for index = 1 : numel(a) c(index) = a(index) + b(index); end By the way it’s simply: c = a + b; % don’t know w...

presque 6 ans il y a | 0

Réponse apportée
How to write double integral equation
Use int() twice? doc int

presque 6 ans il y a | 0

Réponse apportée
Can we put all of these str2num in one function?
Usually str2num() is not recommended. Simply use: sum(C1 - '0')

presque 6 ans il y a | 0

| A accepté

Réponse apportée
need help to how to solve this
doc repmat doc repelem

presque 6 ans il y a | 0

Réponse apportée
How to create a matrix from other matrixes
I undertand your pain of online classes brother. Have a read: <https://www.mathworks.com/company/newsletters/articles/matrix-...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
extract structure array value
You need to use a loop. <https://www.mathworks.com/help/matlab/matlab_prog/access-data-in-a-structure-array.html#d122e28845 *...

presque 6 ans il y a | 0

Réponse apportée
Why does putting a space after a function give a vector output?
Is that an assignment or something?? <https://www.mathworks.com/matlabcentral/answers/599011-floor-function-with-a-space-givi...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Using Display function in an easy way
Use fprintf()

presque 6 ans il y a | 1

Réponse apportée
Why is my function not working?
syms v t % in the first line of function

presque 6 ans il y a | 1

Réponse apportée
Change text to 0 in a cell array
cell_array(cellfun(@ischar, cell_array)) = {0}

presque 6 ans il y a | 1

Réponse apportée
index multiple columns in cell array
Replace 8:10 With [8:10, 15:18]

presque 6 ans il y a | 2

| A accepté

Réponse apportée
How to mutiply 3 user inputs.
I = input('Number ?') I .^ 3 % ?

presque 6 ans il y a | 0

Réponse apportée
Column Vector Containing the Row Sums of the Elements of A
doc sum

presque 6 ans il y a | 0

Réponse apportée
Define a column series
t = (1:10).' %Or t(:) % from your example

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Writing a while loop
doc while

presque 6 ans il y a | 0

Réponse apportée
how to find the largest number in the first 13 number in an array?
max(reshape(array, [], 13))

presque 6 ans il y a | 1

| A accepté

Réponse apportée
convert a 3D matrix to a 2D matrix
reshape(permute(val, [2, 1, 3]), size(val, 2), []).'

presque 6 ans il y a | 0

| A accepté

Réponse apportée
I need help please, how can I write a program to count the number of digits of an integer the user entered ?
strlength(abs(5984) + "")

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How do i get the values of a 2D matrix based on column indices ?
Output = matrix(sub2ind(size(matrix), 1 : size(matrix, 1), column_indices))

presque 6 ans il y a | 0

| A accepté

Charger plus