Answered
How do i fix line13; Parse error at'=': usage might be invaild Matlab syntax? why it gives error ?
If you want to call max with two output arguments you need to combine lines 12 and 13 together and add square brackets. Use this...

8 dagar ago | 0

| accepted

Answered
I am a single person business; may I install Matlab on my laptop computer as well as my desktop computer on the same license?
For an official answer to licensing questions, please contact Customer Service and/or your sales representative. Depending on w...

9 dagar ago | 0

| accepted

Answered
how to plot each bin of data individually?
Can you tell us which of the thumbnail pictures for the plotting functions included in MATLAB look closest to what you want to p...

9 dagar ago | 0

Answered
Please help me an error occur
Let's look at each of the terms you're trying to concatenate together. term1 = 1:5 term2 = 6:-0.2:5.2 term3 = [13 4 - 3 1 30]...

9 dagar ago | 1

Answered
turn code into a class???
A function accepts input arguments and returns output arguments. What do you want your function to accept as inputs and what do ...

10 dagar ago | 0

Answered
How to use Comparison tags inside my class? or any other operators?
You haven't defined what it means to perform the == operator (whose function name is eq) on instances of your class. Did you in...

10 dagar ago | 1

| accepted

Answered
Convert Python time to Matlab datum
Don't convert to a datenum. Depending on how the Python timestamp represents the date and time, I suspect some of the values for...

12 dagar ago | 0

Answered
PSAT does not work
I suspect that toolbox has a settings.m file that is in conflict with the settings function included in MATLAB. You can check th...

13 dagar ago | 0

| accepted

Answered
Can someone explain to me line by line whats happening in this code? Im REALLY in need of help.
If you mean what each of the commands does, you'd probably get faster answers if you looked at the documentation for the functio...

14 dagar ago | 0

Answered
Maximizing along n-1 dimensions of an n-dimensional array without a for loop
VV=randi(1000, 5, 5, 5); [values, locations] = max(VV, [], 1:ndims(VV)-1, 'linear'); check = [reshape(values, [], 1), reshape(...

15 dagar ago | 1

Answered
How to show that calculation is going in MATLAB App
You could use a uiprogressdlg dialog.

15 dagar ago | 1

Answered
I cannot find function hRISelect for Matlab's 5G Toolbox example.
Try opening the example in MATLAB. When you do MATLAB will change directory to the one containing the example. Look in that dire...

15 dagar ago | 0

| accepted

Answered
Multiplying a 2d matrix with each slice of 3d matrix
In release R2020b we introduced the pagemtimes function for this purpose.

16 dagar ago | 2

Answered
problem in unresolvedSymbols.txt: how to solve the undeployable problems?
Creation of symbolic variables using sym or syms is not supported with MATLAB Compiler. You may be able to perform your symbolic...

18 dagar ago | 0

Answered
Looking for the example dataset used in the tachorpm demonstration (to do a live demo for a class).
Check the output of the ver function. Do you have Signal Processing Toolbox installed? I suspect you do not.

18 dagar ago | 0

| accepted

Answered
Can I get the mathematical expression of an interpolation?
Are you looking for a mathematical expression for the fitted model or do you just want to be able to evaluate the fitted model a...

19 dagar ago | 0

| accepted

Answered
Splitting matrix and create new matrix
Can you create variables named B1, B2, ...? Yes. Should you do this? The general consensus is no. See that Answers post for an ...

19 dagar ago | 0

Answered
MATLAB online doesn't work
There was an outage between 2:01 AM and 6:50 AM EST according to the Application Status page. Were you trying to use MATLAB Onra...

19 dagar ago | 0

Answered
Unrecognize position() function
Looking at the documentation page it appears you're trying to use the "Define UAV Platform and Mount Sensor" section of the exam...

19 dagar ago | 1

Answered
An error occurred while establishing the MATLAB course session
There was an outage between 2:01 AM and 6:50 AM EST according to the Application Status page. Were you trying to use MATLAB Onra...

19 dagar ago | 0

Answered
How to create vectors out of (histogram) bins and take averages?
You can use groupsummary. x = rand(10, 1); y = rand(10, 1); data = table(x, y) % For display edges = 0:0.25:1; % Take the m...

19 dagar ago | 0

Answered
addVoid and addCell functions are not installed when installing PDE toolbox
The notes at the end of the documentation page for addVoid and the documentation page for addCell states that each of those func...

19 dagar ago | 0

| accepted

Answered
No MATLAB resources available
There was an outage between 2:01 AM and 6:50 AM EST according to the Application Status page. Were you trying to use MATLAB Onra...

19 dagar ago | 1

Answered
convert cell of 'True' and 'False' values to a numeric array of 1s and 0s
s = {'true', 'false'}; C = s(randi(numel(s), 5, 5)) L = matches(C, 'true') This same works if you wanted to use a string arra...

19 dagar ago | 0

Solved


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

20 dagar ago

Answered
How to average strings and numbers in the same table
Something like this? filename = {'A1B10'; 'A1B10'; 'A3B10'; 'A3B10'; 'A3B5'}; X = [60; 45; 70; 40; 38]; Y = [25; 21; 24; 23; ...

20 dagar ago | 1

| accepted

Answered
Find graph node names beginning with a few characters
Using a modified version of one of the documentation examples and splitting the code into multiple lines for ease of explanation...

20 dagar ago | 1

| accepted

Answered
How to install toolbox offline?
Follow the steps on this documentation page.

20 dagar ago | 0

Answered
Help in producing a Matlab code that simulates Sine and cosine from rotating vector in a circle
It probably wouldn't be too hard to do something like that using the techniques described in this section of the documentation.

20 dagar ago | 0

| accepted

Answered
Using F1 for help, gives help for wrong function
Does the variable p exist in the workspace when you ask for help? It's not sufficient that the code to create that variable as a...

20 dagar ago | 0

Load more