Science topic
MATLAB - Science topic
MATLAB (matrix laboratory) is a numerical computing environment and fourth-generation programming language. Developed by MathWorks, MATLAB allows matrix manipulations, plotting of functions and data, implementation of algorithms, creation of user interfaces, and interfacing with programs written in other languages, including C, C++, Java, and Fortran.
Questions related to MATLAB
THERMODYNAMIC ANALYSIS OF TRIPLE EFFECT ABSORPTION CHiLLERS
Energy and Exergy analysis .
What statistical software do you prefer for your research works? 💻 (Excel, SPSS, Matlab,...)
Thanks for your answer 😉
Dear colleagues! Share information on the implementation of the ZF beamforming method for MU-MIMO in MATLAB?
Please share source material and expertise contact for discussion.
Also welcome for collaborative work
I want to determine the temperature dependancy of order to disorder phase transition of cubic perovskite? And I haven’t enough computational resource for that..So, Python or Matlab can be a good option in this case
Dear all, I am working on climate change impact;
and I couldn't get Matlab code to convert the NC file of CMIP6 to excel
is there anyone to help me?
How to filter input signal through lognormal shadowing model or kappa mu shadowing model by using a code which generates PDF in Matlab?
Hello,
I have 2x2 Mixed Design ANOVA
I did assumptions before Anova. I fixed 1 or 2 person (outlier) for data and I went for analysis. After executed outliers, I got still significant and large effect size (partial eta) therefore, I prefered to report without outliers. I have also between group differences, I will report them too. But I have problem in group interaction and some within-subject results.
Group intereaction; I have nLOW=10, nHigh=11 group. The result showed me that
F(1,19)=4.18, p= .056, Partial eta =0.17! and another F(1,19)=3.72, p= .69, partial eta=0.16!
Within-Subject:
F(1,19)=4.18, p= .055, partialeta=0.18 ! and I have 4 more like these for within result.
My Question:
i) I wanted to report nonsigficant data, because I read that "p" is probability but effect size also shows us "how much variances affect/interaction for each other". I also read about "effect size choosing for sample size. They said that " if you have small size (maybe like me for 2x2 design (nLOW=10, nHigh=11, nTOTAL:21)) you must use omega squared" and If I use omega for my results, all large effect sizes have gone. They decreased to medium (around 0,50)
After I read Dr. Lakens's review (10.3389/fpsyg.2013.00863), I thought that can be " generalized eta", because I realized after computed Omega squared and General Eta , they look similar (general eta:0.047, omega square :0.037). But If I have these effects, I thought there is no need to report for nonsignificant data as I mentioned above. Because I also lost effect sizes, right? It is same for some within-subject results. If I compute effect size as a omega squared and generalized eta, almost all large partial eta decreases to medium or low.
What should I do about it? Should I report both (partial eta and generalized eta which they are very different for my data: when Partial eta shows:0,241; GeneralEta shows:0.047; omega squared shows: 0.037) ?
Thank you in advanced for your time.
Berkant Erman
I would like to know if Aspen Plus can be linked with MATLAB or Python?
Hi
How do we calculate schottky barrier height and ideality factor and On-resistance for schottky structure by matlab ?
thanks
am trying to add entropy generation for hybridnano fluid in my research article what should i note before and after . and suggest me some of the article to get clear idea and matlab program to plot graph for entropy
I have two datasets (.edf) of EEG recordings, one for healthy people, one for depressive people.
Each of the recording has 20 channels. So far I opened the data in matlab with edfread() as a timetable.
How can I add a white noise in that timetable?
hello all,
I am currently working on studying the effect of integrating wind energy on the IEEE 9 BUS using Matlab Simulink, the curve of voltage and frequency in the buss gave satisfactory results without wind, but after integrating the wind turbine, the voltage and the frequency diverged from the default value.
so I wanted to as if there is someone here that simulated similar work and can help me to clarify some questions.
- Any recommendations for optimal integration of wind energy into the grid? ( with Simulink Matlab ) , references?
Thank you.
I have running GA optimization using "gamultiobj" in Matlab. The upper bound and lower bound of my design variables are like [10 30 175 1] and [30 60 225 3]. But after convergence, I see the design variables (like all of them) near 20,47,175 and 1. I am not getting a Pareto Front. What could be the possible reasons for that?
Current, I am using Simscape toolbox.
It would be helpful if anyone can suggest some other toolbox that may be required in future work.
I have .rda file which contains EEM spectra. I have changed it in to .mat file by writing in R. But this .mt file does not contains the corresponding values of Ex, and Em in the .mat file rather only sample names, and values which are in a structure, so i am unable to plot this data in matlab as i want to do further analysis of this data.
What should be the method for big netcdf files? It will be good if anyone provide me the Python, R or MatLab code.
The DoS attack occurs throughout the simulation.
In his name is the judge
Hi
I made fuzzy logic system by ANFIS toolbox in matlab.
Is there any way to calling this fuzzy logic system in python.
note this:
In fact i want python automatically (not handly) read fuzzy logic system properties and build it then i can use it in python.
Any help is greatly appreciated.
Take refuge in the right.
Hi,
I really need some help. I acknowledge all respected researchers here which have done raindrop size distribution studies using t-matrix code written and provided by Mishchenko.
I found the code here: https://www.giss.nasa.gov/staff/mmishchenko/t_matrix.html
It says the codes were all written using fortran77.
But, to be frank. I have never used Fortran and I am not a programmer. So, for my study, I'm using Matlab. To convert fortran77 to Matlab, I need to convert fortran77 to fortran90 first which I totally have no clue.
So, I would like to ask if any of my Researchgate friends here are willing to share the converted version (in Matlab code) or have any info about this code. All help are highly appreciated.
How can I insert a geomagnetic equator line in the matlab base map?
I am trying to programming fMRI (BOLD) data processing via SPM12 using MATLAB. I have four stimuli that each participant should note and respond according to each stimulus. When I want to set conditions for 1st-Level, in data some runs lack some stimuli (some of the stimuli have not been used). for example, there is no second-stimulus in run-2, but in others have been used.
Now, should I define an empty vector/zero value for "Onsets of the Condition" or in general I should not set a second-stimulus condition for run-2?
I first study finite element method and dealing with matlab program, I can solving PDE by linear trianglution mesh but I can't by quadratic or higher degree for triangulation. My question is: How I can make a matlab code for solving a PDE by Quadratic finite element method ?
I have around 30 samples( both from system and actual known values). is MSE method is suitable?
I am looking for help on modeling in Matlab:
1) A uniform bar with an unknown linear heat source
2) A point load over an axial bar with an unknown heat source
The temperature distribution can be over the entire bar. The bar can be tapered. All the unknown variables can be set on your own. Just looking to learn how to model such a problem and determine what heat source caused the temperature distribution. Thank you!
Metaheuristics are a class of Artificial Intelligence algorithms. There exists several metaheuristics to solve a variety of optimization problems. The list is lengthy enough. Researches are in search of more efficient algorithms, and hence proposing newer metaheuristics. Sea Lion Optimization Algorithm is one such metaheuristics. The algorithm is claimed to outperform Particle Swarm Optimization (PSO), Whale Optimization Algorithm (WOA), Grey Wolf Optimization (GWO), Sine Cosine Algorithm (SCA) and Dragonfly Algorithm (DA). Can anyone please provide some sources for implementing the Sea Lion Optimization Algorithm in any programming language?
My background is control engineering (I studied all ogata book) but It's my first time to read in optimal control and I want recommendations for optimal control books for a beginner. It will be nice to be with Matlab examples.
Fs=?; %Sampling frequency ?KHz
Flp=?;
Fls=?0;
Wp=2*Flp/Fs;
Ws=2*Fls/Fs;
Rp=?; %(unit:dB)
Rs=?; %(unit:dB)
[N,Wn]=cheb1ord(Wp,Ws,Rp,Rs);
[b,a]=cheby1(N,Rp,Wn); %
[hw,w]=freqz(b,a);
subplot(2,1,1);
plot(w/pi,20*log10(abs(hw)));grid on;
xlabel('ω/π');ylabel('amplitude(dB)')
title('BM filter');
subplot(2,1,2);plot(w/pi,abs(hw));
grid on;
xlabel('ω/π');ylabel('amplitude(H)');
This is for matlab use.
Can you please give me some advice on this?
I knew that The basement membrane model consists of 108 or 54 second-order low-pass filters cascaded in decreasing order of cut-off frequency.
Just wanna a simple model of cochlear.
I am working on the fault detection and fault classification in power system using wavelet and ANN in matlab/simulink. I need to sense the fault current from the power system model drawn in simulink, and the waveform of the fault current displayed in the scope will be converted into data and has to be stored temporarily in the form of array in workspace (as a memory) and this data samples stored in the array shall be fed to wavelet code (along with 0.05 sec time step, so that window can be made) and the wavelet code can calculate the fault coefficients and these fault coefficients can be fed to the ANN controller to detect the correct type of fault. Once the data samples is fed to the wavelet code after 0.05 sec, that data samples stored in array will be cleared and new data samples will be stored in the form of array in workspace. Again this data samples is fed to wavelet code and wavelet code will calculate the fault coefficients and after next 0.05 sec the data samples stored in the array will be cleared and new data samples will be stored in the array in workspace. In this way at every 0.05 sec time step, the data samples will be stored in the array and will be given to wavelet code and the array will be cleared and new data samples will be stored in the array. This array is called "temporary array".
The question is that how to create this temporary array in MATLAB ? What is the matlab code syntax for creating this temporary array ? I just want only suggestion. I am not asking for an exact answer.
Hello everyone, I would like to convert the code of Matlab to Python as soon as possible (the code for Matlab is attached here) please I need support
ex:
10.1016/j.aej.2017.01.044
How can i find plot 6-D 6 Fractional-Order Chaotic System in MATLAB code or Mathematica ?
MATLAB has the app of SVM regression in which we can perform SVM. I want to export that model with all the details for generating the objective function for further use of that model. Can we do so? What is the procedure for that?
Hey all. I have two signals as shown. the red one is how my output should look like (the ideal case) and the blue one is what I am actually getting. I am quite new to signal analysis so was asking what are good metrics I can use to find the similarity between my generated signal and the ideal signal? I have looked at cross correlation and SNR using MATLAB, but I wanted to know if there are more methods out there that can provide me with a clearer picture specially with regards to how shape similarity etc.
Thank you all again.
i need to design a model with some specifications
To Design a Fuzzy Control FLC that uses the indirect field-oriented control IFOC approach to regulate the velocity of an IM motor please i need an urgent help and solution
I export from Ansys Mass , Damping and stiffness sparse matrices.
Does anyone know how can I represent these matrices on MATLAB State space model?
I could not find how the "gamultiobj" (a NSGA-II algorithm) penalizes the fitness function for the population violating constraints? Any clues would be appreciated.
Thank you!
Hi,
please can somebody provide me any heurstic matlab code for extrating PV parameter
how get the C code generation form MATLAB level-2 S-function?
For example, to classify the data in Python or such programs, we use 0001; 0010; 0100; and 1000 digits for four classes. Can we simply use 1; 2; 3 and 4 in MATLAB? This will help me diagnose if I have multiple classes.
i ll use the programme for UAV (Unmanned Aerial Vehicle Networks).
Hello,
During the analysis of twin transfer or slip transfer of alloys, the criteria of displacement gradient accommodation (DGA) and stress-driven accommodation (SDA) were used.
I tried to figure out the correlation among them with the grain orientations, boundary conditions, slip/twin systems, and external loading. But I still did not get the fundamental cores.
I hope it can be written like m prime or Schmid factor with a clear explanation.
Hope someone good in this field can provide constructive guidance!
Best wishes,
Biaobiao
A set of differential equations are provided which represents the non linear system.How can we convert it into a plant model to develop a controller? There are five state variables.I've shown only two equations in the sample image
Hi, I am implementing path planning using PSO but I have no idea what would be the max and min values.
I have done some tests with arbitrary values but they only work for some cases.
Can you help me?
In his name is the judge
Hi
for using matlab facilities especially matlab controller like fuzzy have to sending and receiving data between matlab and opensees, in fact i want send two data as fuzzy controller form opensees to matlab after each time history step in opensees and then matlab send back one output to opensees.
to achieve this i have to connect matlab and opensees with openfresco it means i do hybrid simulation.
first is this possible to do this?
second is there any one do work like this, do hybrid simulation generally or specifically do hybrid simulation between matlab and opensees. if yes i am very thankful to share work with me or for some aim.
have to say i prefer not to use openseespy and i almost read all example and guide in openfresco site and even on each site but i cant do this right.
Any help is greatly appreciated.
Take refuge in the right.
The problems I am currently considering are strongly related to shape optimization, especially isogeometric shape optimization. I have implemented MATLAB code that supports multi-level shape optimization and I am wondering if there is a reference implementation using MATLAB or C++. During my search, I found that the topology optimization community does a great job on open-source implementations. By contrast, why is there so little open-source toolbox in the shape optimization community?
My questions are summarized as follows:
- Is there a recommended shape optimization implementation written by MATLAB or C++? (FEA-based shape optimization is OK, but isogeometric shape optimization is preferred)
- Why doesn't the shape optimization community share their implementations as the topology optimization community does? What's the historical reason or what?
Meanwhile, colleagues with similar research interests are very welcome to contact me.
Could you please help me that how I can generate 10^6 random variables that have an alpha mu distribution.
Thank you in advance
One way to display multi-attributes in seismology is to use 2D colormaps. Can anyone advise how to use 2D colormap in MATLAB in the imagesc command?
I have an eeg.edf recording of 20 channels that I opened in Matlab as a timetable. How can I calculate the mean amplitude value for each channel using a function?
Thank you.
I opened the edf file in Matlab as a timetable. What would be the easy way to plot all of the channels (20) on the same figure?
I am trying to analyze track irregularities data with Fractal dimension on MATLAB using Ruler method, I am finding it difficult to develop the fractal dimension calculation algorithm.
Hello
Dear researchers, can you explain how to convert MATLAB to Python?
I need your guidance on Grasshopper Optimization Algorithm (GOA) algorithm that was written in Matlab,
Thank you very much
Dear Colleagues
I hope you are doing well. I want to calculate thermodynamic properties of ammonia and water mixture. A part of my simulation is shown below:
X=0.5294
Y=1-X
h = refpropm('h', 'T', 67.7+273.16, 'P', 116.92, 'water', 'ammonia', [Y X])
However, following error is shown:
Error using cell2mat (line 52)
CELL2MAT does not support cell arrays containing cell arrays or
objects.
Error in refpropm (line 318)
z_kg = cell2mat(varargin(nargin));
What should I do?
I am working on chaotic dynamics of bldcm involving Caputo derivative, so I am seeking on Matlab code helpful for this problem.
Hello, I'm currently working on fitting some data with an Anand model. Data is in the form of strain-stress graph from the process of a hot-working pure titanium.
I'm using a Matlab Curve fitting tool and I have to do some tweaking for my lower and upper parameteres bounds calculated with nonlinear least square method. One of the parameter, which I'm looking for is "s0" - initial deformation resistance. In many works s0 values are around ~50 MPa. How can I determine if the value found by Matlab is reasonable? Can I somehow take an educated guess based on my data to find if this value is correct?
Is there any online tool to convert python scripts to MATLAB ?
Hello,
In my experimental work, I analyze spike and amplitude by taking ECoG recordings from rat cortex using bipolar electrodes. I can do these analyzes in Labchart program. In these EcoG recordings, I want to do different analyzes such as spectral power analysis, % power in alpha, beta and gamma waves, etc.
Can I do these analyzes in Labchart? I tried the Matlab program for this. But I could not analyze. Can you help me on how to do it?
I do not find anywhere to use the mutation probability. Any sort of help is appreciated.
Thank you!
I'm using SPSS software to model my statistically variables. I'm used to model variables in MATLAB, R and Python, this is my first experience with SPSS software. I've create model on my observed dataset however the result of model revealing some calibration with oberserved dataset. How can I can calibrate SPSS timeseries model using programming language.
I actually want to run infinite time model on my dataset and want to set certain parameters e.g., RMSE between observed and predicted dataset fall under my descries limit I want to save that model parameters. Is there any way to do SPSS software with some programming ?
Time reply will be appreciated
I have installed bellhop on gfortan compiler and I have a channel model but don't know how can I run the model in Bellhop matlab
In his name is the judge
Hi everyone
In order to use controller for structure with absorber, have to connect matlab and opensees in real time :
it means in each loop in opensees data must send to matlab and then matlab do some prossess with controller like fuzzy then send back data to opensees
Relying on researching and consulting the only way is use hybrid simulation (like openfresco),
do you have any other idea or way to connect these two programs without using openfresco?
Translation results
star_border
Consult
Wish you best.
Take refuge in the right.
how to use matlab code for the risk assessment model using fuzzy random variables .
Can anyone suggest pl?
Actually, I wish to understand the process and coding to define new wavelet transform. So that I can understand and modify some wavelet transform to get better results. There is inbuilt wavelet transform in MATLAB and we just have to choose wavelets. I wish to define new wavelet transform.
Hello everyone. Hope you're doing well
I am working on different models for correlating solubility data
One of the models is LSSVM which is an artificial neural network.
I have some problems using the model in MATLAB.
Appreciate any help which can help me in this area
Best wishes
Hassan Nateghi
I have solved fractional initial value problems using predictor-corrector algorithm, how do I solve fractional boundary value problem using the same algorithm or other algorithms in MATLAB, please help me to write code for it or please share the MATLAB or Mathematica code for it.
Thank you in advance.
Hello,
How can I plot the Power Spectrum for all channels of my signal(EEG)?
I want to find the correlation matrix in MATLAB. I've really got baffled.
Thanks in advance for your answer,
Neda
Hi,
How to calculate j integral using the domain integral method in ANSYS code or MATLAB code?
Hello Everyone. I have recently been trying to tackle the issue of a tilt rotor aircraft control and developing a set of PID controllers for that. I have attempted to use this simulink model but it didn't work for me.
I am specifically having a problem in controlling the transition of the aircraft a it stands. Do you know of any matlab simulink models that I can use as a reference for control architecture?
Hello my friends I need to import data for magnetization characteristic into lookup table In MATLAB but I don't know please I need vedio to explain that
In his name is the judge
Hi
can you say wich set of data is best to train and test ANFIS in matlab.
i mean how generate data to get less error, like nuber of data or Dissipation of them
Wish you best.
Take refuge in the right.
i can extract the time trace of astrocytic calcium signal ,and calculate detaF/F0 by defining the total mean of the trace as F0. and simply calculate the amplitude or area under curve in the excel using the "max" or "sum" functions.
but i want to get other parameters like rise time, decay time ,half width,frequency based on the threshold,
i know many useful tools to achieve this analysis in this website{neuroscience imaging analysis tools | 08 november 2021 | Biafra Ahanonu, PhD (bahanonu.com)}
but i'm inexperience about those algorithm, mathematical equations. Besides, i'm not good at those softwares like Matlab,python,R studio.
So is there any easy and straightforward turtorials to help me get these parameter?
if Matlab ,python,R studio were used, graphic tutorials are better.
In his name is the judge
Hi
I want design cotroller in to control active force of damper.
On this purpose, i analyzed structure with damper, wich is tlcdg, and get data whic use for generate controller. data are accleration and velocity of damper as input and dampers force as output ( i mean force wich made by own damper under earthquake excitation, not active force).
here is anfis properties :
number of inputs are 2
number of outputs is 1
generate fis method is grid partition
number of membership function are 4 for each input
input membership function type is guass2mf
output membership function type is linear
opt method is "hybrid".
(have to say i tried different epochs membership function , .....)
Unfortunately anfis toolbox in matlab refuse to train and build Suitable fuzzy controller wich means error is too much in training, so this answer is not acceptable.
i have some idea for make it true but i'm not sure.
here is my ideas :
* first i think train controller with more or less data ( training data are about 2000 wich is under 100s earthquake excitation but when i reduce earthquake excitation to 10 or 15 seconds the error is acceptable however i think this solution is not good.)
* second maybe i must try one damper for training.
* the last idea is to assign force on the damper location and get acceleration and velacity for generate trianing data.
here is my data and shot frome my try.
Any help is greatly appreciated.
Take refuge in the right.
I have recorded two interferogram out of which one is recorded without any phase object and the other is recorded with phase object. Now I want to get information about the phase object using MATLAB. Can anyone help me