Community Profile

photo

Sajid Afaque


Last seen: 8 Monate vor Aktiv seit 2019

Enthusiast, still finding ways to better shape my career. Interested to be a better business leader and lead revolutionary businesses some day.

Statistiken

All
  • MATLAB Central Treasure Hunt Finisher
  • Solver
  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer

Abzeichen anzeigen

Content Feed

Anzeigen nach

Frage


Inconsistency in fitting function
Hello I am trying to fit a function I have two similar kind of data, lets name two type of data a_data b_data model is able...

etwa ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
How to replace the array data in workspace data?
%if its possible try to convert the variables to a struct then perform the %calculations var1 = load('2sn0dB.mat'); var2 = lo...

etwa ein Jahr vor | 1

| akzeptiert

Gelöst


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

etwa ein Jahr vor

Beantwortet
read all text files in a directory
try to use the below general approach data_files=dir_listing(datapath,'*.txt') %reads all text files at the location specified ...

etwa ein Jahr vor | 0

Beantwortet
How can I set every value in a row to NaN based on two non-consecutive Quality columns?
first try to get the indices where qny of the quality indicator is 0 (i.e. find the row numbers where either column 3 or column ...

etwa ein Jahr vor | 0

| akzeptiert

Frage


Convert RGB image into 8 bit rgb image
hello, I have an RGB image (example enclosed - imfinfo suggest its 24 bit image) Now i need to convert this to an 8 bit RGB im...

mehr als ein Jahr vor | 1 Antwort | 0

1

Antwort

Beantwortet
I want to apply a different color to the bar in yyaxis.
one more simple solution without any extra line, just interchange 2 lines figure(3), grid on, hold on ...

mehr als ein Jahr vor | 0

Beantwortet
Cannot get a non-singular matrix
you need to focus on the last step i.e. division part a = B ./ y ; %element wise division

fast 2 Jahre vor | 0

Beantwortet
How to store values in summation for loop?
you need to create an array to store your results, currently with this approach you are over-writing your results in variable s...

fast 2 Jahre vor | 0

Beantwortet
plotting three curves in the same plot
yeah you can use hold on before curve fitting or alternatively figure(2); %the intended figure number on which you need plot ...

fast 2 Jahre vor | 0

Frage


How to read in Excel Default headers ?
Hello , I am trying to read data from excel using readtable data = readtable('filename.xlsx'); Now if i want to read in dea...

etwa 2 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
How do I select the minimum value from the first column based on the corresponding value in the second column?
use the below workaround %variable var = [[1;22;3;5;60;76;7;12] [1;1;0;0;1;0;0;1]]; %select only the portion which has seco...

etwa 2 Jahre vor | 0

Beantwortet
How to select values in a vector
hello , as i have understood from your description i have framed a solution. Yes for sure the below code can be optimised furt...

etwa 2 Jahre vor | 0

Frage


How to check equality of very small numbers ?
Hey Community !! I have two very closely related numbers A = 1.309998142150646e-09 B = 1.309998162564509e-09 now if i need ...

etwa 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


saveas commad saves a figure with different size in MATLAB version 2013b and 2020b
Hi, I recently switched from MATLAB 2013b to 2020b. I have a issue of figure size when saving figures as png. I’ll try to illu...

etwa 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


Perform cross co-relation to find best fit
Hello Community, I have two signals s_acti.mat and phs1.mat. how do i find the time interval of s_acti that best fits with p...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


similarity between closely related signals
Hello Community, I have two signals taken over same time samples. (acti.mat & phs0.mat) how do i find out the time instant til...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Find the interval/Region where two signals overlap
Hello, I have two signals signal A and Signal B over time. how do i find region or time interval during which Signal A and Sig...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Remove ToC From MATLAB Report Generator tool & Generalize
Hi community, I was trying to generate PDF report using Report Generator. I was using Custom Title Page stylesheet The firs...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


Switching from matlab 2013b version to 2020b version. Legend command with line handles
hello All i switched from old 2013b matlab version to new 2020b matlab version. In my existing scripts written originally in 20...

mehr als 2 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
plotting one variable equation
count = 1; for w = -600:100:-100 a(count) = sqrt((1200/w.^2)+10)/sqrt((300/w.^2)+1); w_copy(count) = w count = count+1; end...

mehr als 2 Jahre vor | 0

| akzeptiert

Frage


switching from 2013b VERSION TO 2020. Accessing figure handle from plot command
hello all , I just switched to 2020 version from 2013b. when i was checking where 2013 scripts are compatible with 2020, i fou...

mehr als 2 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


construct a complex number using real part and abs data
i have real part and absolute values of a complex number. is their any built in function to generate back the complex number us...

mehr als 2 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
function to display name
that is because while storing the result in big you are using the index i please try below code it might help function resul...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Same colour for two curves in a plot
you can also use color instead of triplets h=plot(x,y); set(h, {'color'}, {'r'; 'b'; 'r'});

fast 3 Jahre vor | 0

Frage


insert hyperlink in a pdf report using matlab report generator tool
hello all, i am trying to insert hyperlink in the report .I am generating the report using the matlab report generator tool. i...

fast 3 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
writing values into nested cell structures.
try this might help % example of A A{1,1} =[3 5 4]; A{2,1} = [3 1 7 0 1] ; A{3,1} = [3 1 7 ]; %MAIN PART IS BELOW for i = ...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
The 'if' nested in my 'for loop' does not seem to be working, any idea why?
recheck your first condition y_n == 0.25 check if y_n is exactly equal to 0.25 as expected. 0.249999999 is not equal to 0.25 ...

fast 3 Jahre vor | 0

| akzeptiert

Beantwortet
Multiple if elseif statement
you can try switch statements as alternative for else if. depends on your need

fast 3 Jahre vor | 0

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

fast 3 Jahre vor

Mehr laden