# Sugar Daddy

I do not respond to emails or personal messages, unless you want to be my Sugar Baby :)

**Statistics**

RANK**905**

of 271,500

REPUTATION**64**

CONTRIBUTIONS

**4** Questions

**26** Answers

ANSWER ACCEPTANCE **
100.0%
**

VOTES RECEIVED**10**

RANK

of 18,309

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 119,989

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

9 months ago | 0

Create a double identity matrix matlab

Daddy is here for help M = 12; K = transpose(eye(M)+triu(circshift(eye(M),1,2)))

9 months ago | 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;...

9 months ago | 0

| accepted

Question

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...

2 years ago | 1 answer | 0

### 1

answerHow 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...

2 years ago | 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 ...

2 years ago | 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...

2 years ago | 0

| accepted

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...

2 years ago | 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 ...

2 years ago | 1

| accepted

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...

2 years ago | 1

| accepted

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...

2 years ago | 0

Question

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...

2 years ago | 1 answer | 0

### 1

answerChange 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";...

2 years ago | 1

Question

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...

2 years ago | 1 answer | 0

### 1

answerHow 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...

2 years ago | 0

| accepted

rotation of graph node labels

https://www.mathworks.com/matlabcentral/answers/477770-is-it-possible-to-change-the-position-of-graph-plot-node-labels

2 years ago | 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') ...

2 years ago | 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...

2 years ago | 0

Plotting in MatLab App Builder - no x values?

Select the 2nd Option

2 years ago | 0

| accepted

Question

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...

2 years ago | 1 answer | 0

### 1

answerHow to make 2 matrix out of 1 one matrix??

Aneg = (A<0) .* A Apos = (A>0) .* A

2 years ago | 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...

2 years ago | 3

| accepted

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...

2 years ago | 0

| accepted

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....

2 years ago | 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...

2 years ago | 0

| accepted

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...

2 years ago | 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...

2 years ago | 1

| accepted

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,:...

2 years ago | 0

| accepted

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...

2 years ago | 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. ...

2 years ago | 0