Zhangxi Feng
Followers: 0 Following: 0
Feeds
질문
Is there a setting to move labels on a plot closer
In the following image is plotted with the code: load('data.mat'); f = figure; f.Position = [21,471,1883,333]; subplot(1,4...
3개월 전 | 답변 수: 1 | 1
1
답변질문
How to move colorbar in scatter3 plot and keep it inside the figure
After adding title to the colorbar of a scatter3 plot, I realized the formatting is all wonky. Looking online, I moved the colo...
5개월 전 | 답변 수: 1 | 0
1
답변답변 있음
Loaded quaternion but still cannot find slerp
Thanks to @Steven Lord, I realized that another externally installed library, MTEX, is causing the issue. I disabled MTEX and no...
Loaded quaternion but still cannot find slerp
Thanks to @Steven Lord, I realized that another externally installed library, MTEX, is causing the issue. I disabled MTEX and no...
6개월 전 | 0
| 수락됨
질문
Loaded quaternion but still cannot find slerp
After installing the Sensor Fusion toolbox, Matlab reopens. I used the following code: q1 = quaternion([75,-20,-10],"eulerd","Z...
6개월 전 | 답변 수: 1 | 0
1
답변질문
yyaxis plots ignoring plotting commands or even changes the command unprompted
The following script plots 2 curves on the left axis and 1 curve on the right axis as shown below. Each curve has its own error ...
1년 초과 전 | 답변 수: 1 | 0
1
답변제출됨
VTK read and write package
2 scripts that read and write VTK files that contain multiple field data. Very simple and straight forward coding compared to ot...
거의 3년 전 | 다운로드 수: 58 |
질문
Why is the number of population for GA's first single run random?
Before I switched over to GA to utilize the mixed integer operation, I was using gamultiobj.As I save the input parameters in my...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
parfor doesn't continue to run other jobs when only one worker is working
I have a parfor loop that is supposed to run 7 jobs with 4 workers. Each job executes a .exe program in their individual folders...
4년 초과 전 | 답변 수: 1 | 0
1
답변질문
In gamultiobj, how to return the type of population of each generation?
I would like to get the type of population (crossover, mutation, or normal) of each generation. Preferably outputing an array of...
4년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to work around the precision problem?
I am aware that certain numbers cannot be perfectly represented in binary, and as a result some of the numbers are not exact. I...
4년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How can I edit a value in multiple text files?
A simple way to do this is to simply write the entire file, I assume it is not a large file. You can do something like this: f...
How can I edit a value in multiple text files?
A simple way to do this is to simply write the entire file, I assume it is not a large file. You can do something like this: f...
대략 5년 전 | 1
질문
MATLAB Java Error with Figures
When I plot a figure, the figure with all the intended contents appear. I can rotate the figure, probe the data points, and do o...
대략 5년 전 | 답변 수: 1 | 1
1
답변질문
Windows/Linux file reading with regexp inconsistency?
In my program, I am reading an input text file using the following code: file = fileread(GAFname); fileText = regexp(file, '\r...
대략 5년 전 | 답변 수: 1 | 0
1
답변질문
Can I overwrite a function in a compiled program with a custom version?
I have a set of MATLAB functions with a main function that will be compiled. This program calls a function that requires the use...
5년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to copy files but not folders from one folder to destination?
For others who may have a similar question, I achieved this goal by using the following: sourceDir = dir(runSource); sourceD...
How to copy files but not folders from one folder to destination?
For others who may have a similar question, I achieved this goal by using the following: sourceDir = dir(runSource); sourceD...
5년 초과 전 | 0
| 수락됨
답변 있음
How to write fitness function in matlab.
Please add some more information for your question so we can better help you. A fittness function is just like any other func...
How to write fitness function in matlab.
Please add some more information for your question so we can better help you. A fittness function is just like any other func...
5년 초과 전 | 0
질문
How to copy files but not folders from one folder to destination?
Not sure why I am having difficulty searching for this but all the questions I found were just about copying specific file or sp...
5년 초과 전 | 답변 수: 1 | 0
1
답변질문
Is there a degree symbol in LaTex or is ^{\circ} the best it can do?
I have searched quite a bit for examples of displaying titles in latex. My goal is to show the following: Bin 0° <= \varphi_2 <...
거의 6년 전 | 답변 수: 3 | 0
3
답변질문
Clear all returns warning evaluatecode.m could not be cleared because it contains the code that is currently executing?
I don't use clear all to clear workspace variables. I only use it at the beginning of the main method (that calls other function...
대략 6년 전 | 답변 수: 1 | 0
1
답변질문
Error using cfit/subsref when trying to fit a smoothingspline
According to documentation, if a fittype is specified, the output becomes [curve,gof] = fit(x,y,fttype) My code is shown as f...
대략 6년 전 | 답변 수: 0 | 0
0
답변질문
Why doesn't legend location have "center"
Quite intriguing why 'Location' doesn't have a 'center' option.
6년 초과 전 | 답변 수: 3 | 1
3
답변질문
What is gamultiobj adaptivefeasible mutation function's scaling factor and how to change it
Hello Community, I have a multi-objective function being optimized by genetic algorithm gamultiobj. I understand the mutation...
6년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
How to select column form 3D array and use it in other 3D array?
In your case, a(:,:,n) would actually return the column vector you desire, where n is the nth column since your a matrix is 499 ...
How to select column form 3D array and use it in other 3D array?
In your case, a(:,:,n) would actually return the column vector you desire, where n is the nth column since your a matrix is 499 ...
6년 초과 전 | 0
| 수락됨
답변 있음
Stop mutation in GAMULTIOBj
Sad no one answers this question. I am trying to understand the whole process more also. I believe making your own creation, sel...
Stop mutation in GAMULTIOBj
Sad no one answers this question. I am trying to understand the whole process more also. I believe making your own creation, sel...
6년 초과 전 | 0
질문
How to format hard drive
I found several threads discussing the danger of using eval where some answers used eval and a string of visually encrypted code...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to pass additional variables into a function handle that is taken as an argument?
How to pass additional variables into a function handle that is taken as an argument? For example, the integral function is u...
6년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to compare images to find the difference among them at specific locations .
I think you can complete the task if you convert the image into something you can ask MATLAB to numerically compare, such as whe...
How to compare images to find the difference among them at specific locations .
I think you can complete the task if you convert the image into something you can ask MATLAB to numerically compare, such as whe...
6년 초과 전 | 0
질문
patchslim question: how does fnew = indexn(f) work in the code
Patchslim's code can be found here: <https://www.mathworks.com/matlabcentral/fileexchange/29986-patch-slim--patchslim-m-> The...
거의 7년 전 | 답변 수: 0 | 0
0
답변질문
Find an vector in a cell array
I have a cell array of up to hundreds of elements say A = cell(1,100). Each cell has a variety of three-column vectors (all 3-c...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
tinv function giving wrong values
I used tinv(0.95,16) and it returned 1.746, which is the value for 90% confidence interval at a df of 16. In order to get the co...
거의 8년 전 | 답변 수: 2 | 0