Answered
I go to UofA and matlab is free, do i need an activation key?
I suspect your school's IT department has instructions on how students can install the university-provided license on their comp...

6 years ago | 0

Answered
matlabFunction with syms do not evaluate eqv?
For what you're describing, matlabFunction is not the right tool. solve is the right tool.

6 years ago | 0

| accepted

Answered
Problem with Instaling mathwork products
If none of those solutions work, please contact Technical Support directly using the telephone icon in the upper-right corner of...

6 years ago | 0

Answered
Using powers in calculations?
They give the same results, just in different forms. u=symunit; V1 = .15*u.m^3; p1 = 2*u.bar; t1 = (12+273)*u.K; V2 = .02*u...

6 years ago | 0

Answered
Matrix elements array with specific rule
Creating a large number of variables whose names end in a sequence of numbers is strongly discouraged on Answers. Instead of cre...

6 years ago | 0

Answered
Find the index of a value in a timetable
Let's make a sample timetable. tt = array2timetable([0 0; 0 0; 1 0; 0 0; 0 1], ... 'VariableNames', {'Value1', 'Value2'}, ...

6 years ago | 1

| accepted

Answered
Copy cells a variable number of times
To replicate the cells you can use repmat or repelem depending on whether you want ABCABCABCABC... or AAAABBBBCCCC ... In other ...

6 years ago | 0

Answered
How do I fix the 'Invalid use of operator' Error in my anonymous function bisect code?
function [root,fx,ea,iter]=bisect( @(x)x^7+3*x-1;0;1;0;3 ) The values @(x)x^7+3*x-1, 0, 1, 0, and 3 are the values you should p...

6 years ago | 1

Answered
How to use "format long" in fmincon?
Specify the second input (either precision or formatSpec) in your calls to num2str as shown on its documentation page. doc num2...

6 years ago | 1

| accepted

Answered
How can I fix "Undefined operator '-' for input arguments of type 'matlab.ui.Figure'"
In releases prior to the introduction of the new graphics system in release R2014b, Handle Graphics functions like figure often ...

6 years ago | 0

Answered
Faster repeated interp3 and griddata
Create a scatteredInterpolant object and change the Values property for each of your new set of data as per the "Replacement of ...

6 years ago | 1

| accepted

Answered
How do I randomly select ax,ay, az values and assign it to a node?
The randperm function will be of use to you.

6 years ago | 0

| accepted

Answered
how to make this graph?
When you pass a scalar positive integer value in as the fourth input to contour it is treated as the number of contour levels co...

6 years ago | 1

| accepted

Answered
Make a vector of distribution of big amount of matices
If all your matrices are the same size and type, why store them in a cell array? I'd consider storing them as pages of a 3-dimen...

6 years ago | 0

Answered
Associate Map container with specific values
As long as your states are positive integer values and the largest one isn't too large, you could make a cell array and store ea...

6 years ago | 0

Answered
How to read in binary file data as something other than double datatype?
From the description of the precision input on the documentation page for the fread function, specifying the precision as *sourc...

6 years ago | 1

| accepted

Answered
How does Matlab interpret for loops when say I=n:-1:1
The only part of that code that changes the value of i is the for statement itself, and MATLAB automatically handles changing th...

6 years ago | 0

| accepted

Answered
timetable time and value adjustment
It sounds like you want to retime your timetable.

6 years ago | 0

| accepted

Answered
Remove certain values from coupled vectors
See the "Indexing with Logical Values" section on this documentation page.

6 years ago | 0

| accepted

Answered
Obtaining sparse matrix indices
Use find.

6 years ago | 2

| accepted

Answered
How do I plot X = 0 and X = 1/2?
Use the xline function.

6 years ago | 0

Answered
i am getting license issue during polyspace work , i am from APTIV company, Bangalore
What happened when you went to the page the message stated you should visit to troubleshoot the issue (https://www.mathworks.com...

6 years ago | 0

Answered
Startup On Network Drive Install
If this problem recurs, most likely it's either stored in the user path definition (which you can control using the userpath fun...

6 years ago | 0

Answered
PDF Documentation for optimization algorithms in MATLAB
If you're asking about the PDF documentation for Optimization Toolbox, navigate to its page in the online documentation and clic...

6 years ago | 1

| accepted

Answered
creating a graph with nodes and edges
If you pass in numbers as the sources and targets they are treated as node indices, and if you have a node with index 5 that mea...

6 years ago | 0

| accepted

Answered
Why does Matlab round this error to 0, even though I know it isn't precisely 0
All your calculations to compute rpi are being performed in double precision. By the time you call vpa on it it's too late, much...

6 years ago | 3

| accepted

Answered
Converting integer values to logical array
You can use implicit expansion. >> r = randi(4, 10, 1); % Your values will vary >> values = r == 1:4; >> t = table(r, values)...

6 years ago | 1

Answered
How do I draw colored graph?
This smells fishy to me. caxis([0 1e-35]); From the documentation page: "caxis(limits) sets the colormap limits for the curre...

6 years ago | 0

Answered
string join does not work for char arrays?
>> M = [2; 3; 5; 7; 16]; >> join(string(M), ", ") ans = "2, 3, 5, 7, 16" num2str on M makes a char matrix which is ...

6 years ago | 0

Answered
I want to ask about data normalization
See the normalize function.

6 years ago | 0

Load more