Community Profile

photo

Tsuwei Tan


Last seen: 19 dagen ago Active since 2017

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


Display three 2D images into 3D space
Please dowload all the files and run disp_data.m which will generate three 2D images (like "Picture 1.jpg" as attaced) from ...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


scatter3 color projection
Please load the test_data.mat load('test_data.mat','test') x=test(:,1); y=test(:,2); z=test(:,3); scatter3(x,y,z) This giv...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


feval distorted in ga after using nonlinearconstr
I am using Genetic Algoritm [x,fval,exitflag,output,population,scores]=ga(@(x)cost_fun(x),... nvar,A,b,[],[],lb,ub,@(x)ss...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Question


HPC Slurm --ntasks and Matlab parcluster NumWorkers question
Hi, I have a question regarding number of tasks (--ntasks ) in Slurm , to execute a .m file containing (‘UseParallel’) to...

ongeveer 3 jaar ago | 1 answer | 0

1

answer

Answered
Machine Learning example function not found- helperLoadData
I did, but please see the attached figure, there is no helperLoadData function. Can you find where this helperLoadData function...

ongeveer 4 jaar ago | 0

Question


Machine Learning example function not found- helperLoadData
Hi, I am a starter of machine learning. In the folling link, https://www.mathworks.com/help/predmaint/ug/similarity-b...

ongeveer 4 jaar ago | 4 answers | 0

4

answers

Question


ifft one side spectrum to get a real signal
Dear Matlab Profession, Please find the following code. I have a code to generate a one side spectrum in frequen...

meer dan 4 jaar ago | 2 answers | 0

2

answers

Question


Extracting data tips from 3-D figure
Please download long_lati_depth.mat And run the code. May I ask how to automatically extract the data when the line A to B int...

meer dan 4 jaar ago | 1 answer | 0

1

answer

Question


How to find Datenum time step
Please find the attached t.mat, it includes t1 and t2 may I ask how to find the time step between t1 and t2? Thank you!

bijna 5 jaar ago | 0 answers | 0

0

answers

Question


Integral Error in Dimension
I have the following code like this: When I try to do integral at ycs1=2*cot(0.05)*integral(@(v)integrand(v),v1,v2); It retu...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


Mathematica FindRoot to Matlab
May I ask how to put the following Mathematica code into Matlab? mvel1[n_, H_, f_] := v /. FindRoot[freq[v, n, H, 2.2, 1800, 1...

bijna 5 jaar ago | 1 answer | 0

1

answer

Question


For loop count question
I have a count question regarding for loop. May I ask how to get the "count" number representing from 1 to 86625? Or there is...

bijna 5 jaar ago | 2 answers | 1

2

answers

Question


How to open 100 figures and make movie?
I have creat 100 figures with file names: figure_1, figure_2, figure_3......figure_100 Is it possible to openfig those 100 fi...

ongeveer 5 jaar ago | 0 answers | 0

0

answers

Question


How to concentrate matrix 100 times?
for testnum=1:100 filesavepath=['H:\Desktop\0208\' num2str(testnum) '_sen']; load(fullfile([filesavepath '\0208_' num2...

ongeveer 5 jaar ago | 1 answer | 0

1

answer

Question


Uniform Interpolation/resample Question
Please find the attachment data.mat figure(1) plot(exp_f2,exp_t2,'ro') ylabel('Unifrom Time Step 2.5ms');xlabel('Hz')...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


For Loop Question- Compensation
I have a computational function like output = function (sed_dep,sed_rho,sed_speed,bottom_rho,bottom_speed) (1) I init...

meer dan 5 jaar ago | 0 answers | 0

0

answers

Question


Load certain index .mat file
Please find the attached pic. I have 164,934 .mat files at the folder Is there a way to load one .mat by knowing only the ...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


How to extract a number from .prn file
May I ask how to extract certain number from .prn file? For instance, I have a file called HLA31_Shru00070.prn which is contain...

meer dan 5 jaar ago | 1 answer | 0

1

answer

Question


Signal Non-uniform re-sampling
Please find the attached file which is a 625000x1 signal variable y(t) I also have time series t=0:dt:64-dt; which correspond t...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


str2double/str2num
day='0001'; str2double(day) would give me 1 as answer, how do I get 0001 exact four number of digits for instance?

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


Find continuous file name jump
I have dozen thousand files with names like the following: SHARK_225054651_41_0547_r001 SHARK_225054651_41_0548_r005...

bijna 6 jaar ago | 1 answer | 0

1

answer

Question


How to integrate a modified cfit funciton?
Please find the input variables c (sound speed m/s) and z (depth m) at end. Where sound speed is a function of depth c=c(z) I ...

ongeveer 6 jaar ago | 1 answer | 0

1

answer