Answered
Trying to create a table with a char array as variable names
Your letters need to be separated. One way to do this is put them in a colum vector, and turn that into a string. Note the other...

21 días ago | 0

| accepted

Answered
Trial Not Available for fresh student account
Please contact support.

22 días ago | 0

Answered
Using for loop to build and plot data from a matrix
The calculation in your for loop returns more than 1 value, so your assignment must be to a number of rows and/or columns of the...

22 días ago | 0

| accepted

Answered
Problem in sorting the elements of a complex column vetor in descending order.
Just specify 'descend' for your sort order. B = sort(___,direction) format longE V=[0.00192283028876372 + 2.81043109217511e-...

22 días ago | 0

| accepted

Answered
Can't open a range of a .csv excel file in Matlab online version
Basic mode means you are using xlsread without having access to Excel. That is the case with MATLAB Online, and is mentioned in ...

22 días ago | 1

| accepted

Answered
Why is the string below the first conditional not printed?
Because the result of the dot products is not exactly 1. A = [2 2 -1+4i]/5; B = circshift(A,-1); C = circshift(B,-1); AA =...

23 días ago | 1

Answered
why in this function they use empty square brackets?
In this context, it appears to be deleting elements from A. Try it out in MATLAB to see what it is doing. A = rand(3) A(1,:)=...

24 días ago | 2

Answered
How to plot 3 y axis?
I would probably plot this way. x = [1 6 10 15 22]; y1 = [2 6 8 10 15]; y2 = [99 97 94 92 89]; y3= [1 3 6 8 11]; plot(x,...

24 días ago | 0

Answered
Help with knowing what kind of vector im using
It is appending y(2) to the end of the vector th2s at the end of each h loop. th2s=[]; for a=1:3 a th2s = [th2s,a]...

24 días ago | 0

| accepted

Answered
Function doesn't work in another file
When I run your code, I get the following error: Unrecognized function or variable 'Ph1'. Error in untitled6>a...

24 días ago | 0

| accepted

Answered
Custom Fit Sometimes Work Sometimes Doesn't
The initial guess or starting oint for the coefficients often is a random guess by default. I would suggest trying to specify a ...

24 días ago | 0

| accepted

Answered
How do I return to the 2nd For loop until the if statement is met before starting the 2nd iteration of the first For loop?
It looks to me like you may want to use a while loop for your second loop instead of a for loop. Right now, it is only running o...

24 días ago | 0

| accepted

Answered
I want to use the same function over and over again and store its outputs into an array or a matrix.
See Ch 12 of MATLAB Onramp. It covers for loops, which are used to run the same code over and over. As part of that, it will tea...

24 días ago | 1

| accepted

Answered
Importing data into MATLAB with .mtx format
I am not sure I know what a .mtx file is, but if you can copy/paste the data into excel, it must just be a text file with a uniq...

24 días ago | 1

| accepted

Answered
Slider selection for a duration type data
The only way I could find to do this is to put the slider inside my duration function. For example, this screen shot shows how I...

25 días ago | 0

Answered
readtable from excel import mixed column (double,string) as double and replace string by NaN, how to import those columns only as string ?
When datatypes are not specified, MATLAB tries to autodetect the column datatype. Use the options input to set a specific data t...

25 días ago | 1

| accepted

Answered
problem in plotting data
I changed your post to executable code and ran in here. Two plots were created. Are those the figures you are trying to create? ...

25 días ago | 0

| accepted

Answered
Invoke 'SaveAs' in excel to save sheet as '.htm' format.
I found this answer from 2009 that gives insight into how to do this. The optional variant argument "43" is used to specify an o...

26 días ago | 0

Answered
migrate from AppDesigner back to GUIDE
There is not a tool for migrating that direction. What versions of MATLAB are you trying to go between? You can turn an app int...

26 días ago | 0

Answered
Reconstruct CT Scans for Human Lumbar Spine
The simplest way is to use the dicom browser app and export the result to the volume viewer app.

26 días ago | 0

Answered
What changes are needed in the code?
See this answer. p = [1 2]; s = 'orange'; s(p) = s(fliplr(p))

26 días ago | 0

Answered
Quiver plot for Wind data of reanalysis
Part of the issue is a mismatch between your coastline data and your quiver data. If you zoom all the way out, you will see what...

26 días ago | 0

| accepted

Answered
Error when calling a PushButton programetically in Appdesigner
Pushing a button just triggers the execution of a specific callback function. However, you can also call callback functions manu...

26 días ago | 1

Answered
How to scatter plot using different colors by using own RGB data?
Color is the 4th input to scatter. scatter(x,y,sz,c) You have placed it in the 3rd spot, which is for size. What happens if yo...

26 días ago | 0

Answered
Change the name associated with my license
You should be able to edit your name in your profile https://www.mathworks.com/mwaccount/profiles/edit Your name is also showi...

26 días ago | 1

Answered
How can I open a port in Matlab 2021 version?
You do not need to use fopen when using serialport. See this page: Transition Your Code to serialport Interface As an example...

27 días ago | 0

Answered
How do you find data points that match a specific value?
I would use groupsummary. If you group by z, the resulting table automatically contains a group count. x=randi(10,100,1); y=ra...

27 días ago | 0

Answered
Is there any built-in function for splitting the data to training and testing sets ?
Yes. The one that comes to mind is cvpartition.

27 días ago | 0

| accepted

Answered
How to create an array?
See the examples on the for loop documentation page. You can also learn how to do this interactively in Ch 12 of MATLAB Onramp.

27 días ago | 0

| accepted

Answered
Can't get trial licence in Germany
Contact support.

27 días ago | 0

Load more