已回答
Matlab will not start after installing update 5 for Matlab 2022b
I have sometimes had this when my anti-virus decided Matlab was a virus. You could check the quarantine (or whatever your AV cal...

1 year 前 | 0

已回答
Warning: X does not support locale en_US.UTF-8
Isn't X the window management system? That would suggest this is not necessarily related to Matlab itself. This thread is for U...

1 year 前 | 0

已回答
How do I receive modelling help/support for my Master Thesis Project?
I think the guidelines for posting homework (which you can find here) would also apply in this situation. You will have to thin...

1 year 前 | 0

| 已接受

已回答
How to take multiple input using Edit Field (Text), MATLAB app designer?
Your function lacks any form of documentation, so a user must just guess what the required input format is. In the case of well_...

1 year 前 | 0

| 已接受

已回答
Which requirements should be met when creating and using a function?
For my minify function I needed to construct a full list of all legal syntaxes, so I just tried them all. function[a,b]=f1(c,d)...

1 year 前 | 0

| 已接受

已回答
how to load files which are listed in a cell array
The filenames variable is a cell array, so you need {} to index the contents: M=xlsread(filenames{3}); But it is better to use...

1 year 前 | 0

| 已接受

已回答
readtable error in Matlab
The option you are trying to use only works for spreadsheet files. A csv file is just a text file and does not actually describe...

1 year 前 | 0

| 已接受

已回答
How can I quickly find the difference in function usage between different MATLAB versions? For example, the Name-Value Arguments "QuoteStrings" of the function writetable
A few releases ago Mathworks introduced a changes section at the bottom of the documentation page. Other than that, it is simply...

1 year 前 | 0

| 已接受

已回答
How to write a variable in a Vector with a loop
If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks). See...

1 year 前 | 0

| 已接受

已回答
How to pass filepath to MATLAB executable
You're using Matlab syntax to define a char vector, but that is something that will happen automatically. You can experiment wi...

1 year 前 | 2

| 已接受

已回答
input parser on a cell array
You can implement a custom validationFcn to check your requirements, as you can read in the documentation. A = {'1234','4567','...

1 year 前 | 0

| 已接受

已回答
Why does unicode2native returns different values on different Matlab versions?
I couldn't find this in the release notes, but apparently the default encoding changed between these versions (the documentation...

2 years 前 | 1

| 已接受

已回答
can we share our original code here,?
The main point of plagiarism is not that text cannot exist anywhere else, but that you are clear about authorship. Some style gu...

2 years 前 | 2

已回答
How to point to actual file for LISTDLG selection?
You selected a file name. Now you need to use the load function to read the variables. S=load(fn{indx});

2 years 前 | 0

| 已接受

已回答
Is it possible to make an app after you have written a large program?
In my personal opinion, a GUI should only be an interface to your function (that is after what the I stands for). That means it ...

2 years 前 | 0

已回答
Solve Eror Saveas nome
Perhaps you meant saveas(gcf,[num2str(zz) '.png']) instead, since you never define kk in your code.

2 years 前 | 1

已回答
How to make the modfunc function work ?
A function should exist in an m file. If you want to put it in a script file, it needs to have a closing end keyword, and no oth...

2 years 前 | 0

已回答
Calculate the sum of two RMS values and theoretical RMS.
With vectors of the same size you shouldn't notice a difference, but you are calculating a root sum square, not a root mean squa...

2 years 前 | 0

| 已接受

已提交


RegGrow
Region growing algorithm (supports 2D, 3D, and ND)

2 years 前 | 11 次下载 |

Thumbnail

已回答
Why is sum(f,1) slower than sum(g,2) for g=f'?
I expect this has to do with how a matrix is stored in memory. If I recall correctly, this is column major, so summing along row...

2 years 前 | 2

| 已接受

已回答
Is it possible to make the program faster?
Below you will see my attempt and vectorizing your code. As you may notice, this is not actually faster, which shows you that th...

2 years 前 | 1

| 已接受

提问


MATLAB Answers Wish-list #6 (and bug reports)
This is the 6th installment of the wish-list and bug report thread. This topic is the follow on to the first Wish-list for MATL...

2 years 前 | 6 个回答 | 1

6

个回答

已回答
How to save multiple polts with the source file name using loop?
You have all elements already in your code. Why not uncomment savefig and use files(i).name?

2 years 前 | 0

已回答
read value from an external file .txt
You can do it with fscanf, but it you get a lot more flexibility if you use a regular expression instead. If you want to use thi...

2 years 前 | 0

已回答
Shuffle row order within every N rows in a matrix
Just use a loop with randperm: data=[ 1 2 4 1 1 1 2 4 2 1 1 2 4 1 2 1 2 4 2 2 1 2 4 1 1 1 2 4 2 ...

2 years 前 | 0

已回答
A compact way to horizontally concatenate rows of many cell arrays ?
Two calls to horzcat and a loop do the trick, although this can probably be improved a lot. % Input a{1} = {[0 0 1 4 1] ...

2 years 前 | 1

已回答
Is Matlab generally faster at computing polynomials or trigonometric functions?
You mean you want to approximate your complicated function with many calls by a single polynomial? If that is possible with your...

2 years 前 | 0

已回答
Calculations wrong in appdesigner
app.mdot_P33 = 1.2; app.mdot_P3 = 2.4; app.T3 = 315; app.mdot_P4 = 1.2; app.T4 = 316; app.T5 = (app.mdot_P33/app.mdot_P3)*a...

2 years 前 | 0

已回答
Selecting a file to create a plot on MATLAB
You mean like uigetfile and prompt?

2 years 前 | 0

已回答
Is it possible to implement a GUI in a Matlab script?
For general advice and examples for how to create a GUI (and avoid using GUIDE), have look at this thread. It will show you dif...

2 years 前 | 0

| 已接受

加载更多