![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18657416_1590989316566.jpg)
Sugar Daddy
Followers: 0 Following: 0
I do not respond to emails or personal messages, unless you want to be my Sugar Baby :)
Feeds
Loading a .mat file as a cell and without changing its size
Look son, here is an easy way load('temp.dat'); just load it, no need to assign it to specific variable
2 years 前 | 0
Create a double identity matrix matlab
Daddy is here for help M = 12; K = transpose(eye(M)+triu(circshift(eye(M),1,2)))
2 years 前 | 0
Get clim values from colormap and adjust them in real time
boyaa, let me show you how to do that in a simple matlab figure. then figure it out yourself, how to do it for uiaxes ax = gca;...
2 years 前 | 0
| 已接受
提问
Format (Byte) of UDP packets from VLC
I am trying to read udp packets by streaming an mp3 from vlc player and receiving packets in matlab. I successfully received the...
3 years 前 | 1 个回答 | 0
1
个回答How to select different colors and legend for the bar plot??
2nd Part of Question (Pattern Face) This code is computation intesive and is just for display purpose. (considering that max va...
4 years 前 | 1
Dealing with NaN values in FFT
what if you remove NaNs from dataset Suppose X = [1 2 3 NaN 3 2 1]; X(isnan(X)) = [] X = 1 2 3 3 2 ...
4 years 前 | 0
Equalizing the size of arrays in a cell
Suppose my variable name is y if data is row vector z = cellfun(@(x) [x zeros(1,100-length(x))],y,'uni',0); if data is column...
4 years 前 | 0
| 已接受
datatip showing incorrect value
https://www.mathworks.com/matlabcentral/answers/557128-inaccurate-data-in-datatips-of-matlab-plot/?s_tid=mlc_lp_leaf https://ww...
4 years 前 | 0
Combine fig files into one fig file?
R2020a close all open('Deney 1_1.fig') open('Deney 1_2.fig') open('Deney 1_3.fig') % f1 = figure(1); f2 = figure(2); f3 ...
4 years 前 | 1
| 已接受
How to read Audio File into Vector?
[y, Fs] = audioread('sound.wav'); sound_duration = length(y)/Fs; t = 0:1/Fs:sound_duration; t = t(1:end-1); %% soundsc(y,Fs...
4 years 前 | 1
| 已接受
Binary Mask and gray scale image
I = imread('circle.jpg'); I = rgb2gray(I); M = I<125; figure,subplot(121),imshow(I) subplot(122),imshow(M) To access Imag...
4 years 前 | 0
提问
RECORD SYSTEM AUDIO IN MATLAB (NO MICROPHONES)
How to record system audio in MATLAB (for example: Song playing on Youtube) without third party app... Actually my goal is to u...
4 years 前 | 1 个回答 | 1
1
个回答Change Y-Axis position to desired origin?
Scale Up data hold on ax = gca; ax.XAxisLocation = 'origin'; ax.YAxisLocation = 'origin'; origin = (0-20); n= ["-240-260";...
4 years 前 | 1
提问
Cost Matrix Input for Multiple Sensor Fusion
I have two sensors on a single platform (car) which are detecting a target (another car). Suppose % Sensor 1 data X1 = 100; Y1...
4 years 前 | 1 个回答 | 0
1
个回答How to move the scroll bar in TextArea using codes?( MATLAB App Designer)
https://www.mathworks.com/matlabcentral/answers/337890-i-am-using-appdesigner-i-would-like-to-programmatically-scroll-to-the-bot...
4 years 前 | 0
| 已接受
rotation of graph node labels
https://www.mathworks.com/matlabcentral/answers/477770-is-it-possible-to-change-the-position-of-graph-plot-node-labels
4 years 前 | 0
How to start a third party application with Matlab?
open is the command. Suppose that i want to open a word document (which is in my MATLAB path) then open('Test document.docx') ...
4 years 前 | 0
How to pass name-value-pair arguments to templateTree() as a struct?
Daddy Views T_T= templateTree('Surrogate','off','Prune','on','QEToler',1e-10); opts = {'Surrogate','off','Prune','on','QETol...
4 years 前 | 0
提问
Memory Usage of Figure
I have a figure containing 20 tabs where each tab contains 4 subplots with 2 line plots on each axes. Now i want to find out t...
4 years 前 | 1 个回答 | 0
1
个回答How do you remove the grid layout in App Designer?
select all the components (you have to select them 1 by 1 using mouse and shift key) drag them out of canvas as shown below I...
4 years 前 | 6
| 已接受
Time-shift after fft & filter?
As you have taken fft first and then fftshift, so if you want to do inverse of this, you need inverse of fftshift first as it is...
4 years 前 | 0
| 已接受
How to show calculations value into uitable on the GUI?
Ok it is also very strange for me that set(handles.uitable,'Data',data) is not setting the uitable data while this handles....
4 years 前 | 1
How to fix 'Error using contains First argument must be a string array, character vector, or cell array of character vectors.'
There are 6 fields in structure i.e. name, folder, data, bytes, isdir and datenum three of them are str and two of them are num...
4 years 前 | 0
| 已接受
improve visibility of a plot
You need to Change ylim of axes turn the grid on turn minor grid on change the grid alpha for example grid on grid minor...
4 years 前 | 0
Euler 's Method for falling velocity ode..
Mass = 100/6*pi*0.04^3; g=9.8; A=0.25*pi*0.04^2; U=0.0001; dt = 0.01; for t=0:dt:15-dt Error is in this line as the U size...
4 years 前 | 1
| 已接受
How to store index values in the form of arrays using for loop?
rng default M = zeros(randi([3 6]),randi([3 6])) [u,v] = size(M) inc =1; for i = 1:u for j = 1:v indices(inc,:...
4 years 前 | 0
| 已接受
image processing problem in Salt and Pepper noise
You are feeding a coloured image which is three dimensional ( RGB) while medfilt2 needs 2D data. For example I = imread('camer...
4 years 前 | 0
Error in 'From Spreadsheet ' Block in Simulink
Because the sheet you are feeding is row vector (i.e. it has 1 row and 4948 columns), while MATLAB requires column vector (i.e. ...
4 years 前 | 0