Bhaskar R - MATLAB Central
photo

Bhaskar R


Last seen: 14 giorni fa Attivo dal 2017

Followers: 0   Following: 0

Messaggio

MATLAB enthusiastic

Statistica

All
MATLAB AnswersCodyFile ExchangeFrom 03/17 to 03/25Use left and right arrows to move selectionFrom 03/17Use left and right arrows to move left selectionTo 03/25Use left and right arrows to move right selectionUse TAB to select grip buttons or left and right arrows to change selection100%
MATLAB Answers

5 Domande
284 Risposte

File Exchange

2 File

Cody

0 Problemi
159 Soluzioni

RANK
151
of 297.527

REPUTAZIONE
754

CONTRIBUTI
5 Domande
284 Risposte

ACCETTAZIONE DELLE RISPOSTE
100.0%

VOTI RICEVUTI
85

RANK
14.171 of 20.454

REPUTAZIONE
16

VALUTAZIONE MEDIA
5.00

CONTRIBUTI
2 File

DOWNLOAD
5

ALL TIME DOWNLOAD
68

RANK
1.103
of 159.075

CONTRIBUTI
0 Problemi
159 Soluzioni

PUNTEGGIO
2.021

NUMERO DI BADGE
11

CONTRIBUTI
0 Post

CONTRIBUTI
0 Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI
0 Punti principali

NUMERO MEDIO DI LIKE

  • 6 Month Streak
  • Thankful Level 3
  • Speed Demon
  • Community Group Solver
  • GitHub Submissions Level 1
  • 5-Star Galaxy Level 1
  • Knowledgeable Level 5
  • Pro
  • Introduction to MATLAB Master
  • First Submission
  • First Review
  • First Answer

Visualizza badge

Feeds

Visto da

Inviato


DesignPatterns-with-MATLAB
This repository contains MATLAB implementations of design patterns, inspired by the book Refactoring.Guru. The scripts were prep...

14 giorni fa | 2 download |

0.0 / 5

Risolto


An array is given. Find the unique elements of the array. [keep the sequence unchanged]
An array is given. Find the unique elements of the array. [keep the sequence unchanged] For example if input x=[2 ,4 , 9 ,2 ,...

circa 2 anni fa

Risposto
Select Structure Field Based on Variable
There is special notation to access structure or class field using parenthesis () of input string Structure.A = 5; Structure.B...

oltre 2 anni fa | 0

| accettato

Risposto
Comparing a million data from csv files takes too much time
I assume, you want to calculate the number of nonzero difference data from one value to next to that value We can do without lo...

oltre 2 anni fa | 1

| accettato

Risposto
passing argument between functions
Assign x, y, z output of polystep, that can make your requirement possible function [t,v, x, y, z] = polystep() x = input('pr...

oltre 3 anni fa | 0

| accettato

Risposto
fliping of audio in GUI
>>fliped_voice = flip(myvoice) >>plot(fliped_voice) % if you want you want listen fliped version >>flv = audioplayer(fliped_v...

oltre 3 anni fa | 0

Risposto
arrange equation results from min to max to use after
t = [2993;3975.9;5063;6150;6919;8192.7;8862;10240.9;11488;12409.63;13545] f = @(t) (2.2/9500).*((t/9500).^1.2).*exp(-((t/9500)....

oltre 3 anni fa | 0

| accettato

Risposto
Create Plot Title of the Plotted Function
x = 0:.01:1; for i= 1:9 subplot(3,3,i) y = x.^i; plot(x, y, 'black') xlabel('x') ylabel('y') titl...

quasi 5 anni fa | 1

| accettato

Risposto
Saving extracted audio files in a For loop
wor_dir = 'your_directory_path' for p = 1:3 startSample = n; endSample = length(data); extractedData = data(star...

quasi 5 anni fa | 0

| accettato

Risposto
How to find and replace the content of an array
out = cellfun(@(x)datetime(x, 'Format','dd/MM/yyyy HH:mm:ss'), input_cell)

quasi 5 anni fa | 0

Risposto
How to sum the diagonal numbers and numbers after the diagonal of a matrix
function summa = halfsum(inp_mat) summa = zeros(2,1); % first element is sum of diagonal elements, second is sum of dia...

quasi 5 anni fa | 0

Risposto
create zero column vector
zeros is the MATLAB function already, its not recommended to create again a function "createzerocolumnvector(x)", use direct com...

quasi 5 anni fa | 0

Risposto
How to combine rows of cell array into corresponding single cell
c = cellfun(@(x, y){x,y}, a,b,'UniformOutput',false)

quasi 5 anni fa | 1

| accettato

Risposto
Writing data to a file
fileid= fopen('data.dat','w'); fprintf(fileid, '%d\n', [1:20]'); fclose(fileid)

quasi 5 anni fa | 0

| accettato

Risposto
for loop, multiple plots in single plot
Vi = 25; t1 = [0:0.1:86.3]; t2 = [0:0.1:13.5]; t3 = [0:0.1:13.5]; t4 = [0:0.1:6]; g = [0.58 3.7 3.71 8.87]; hPluto = Vi .*...

quasi 5 anni fa | 0

Risposto
fprintf cell array of two classes
require = string(cell2mat(strcat(charArr,{' '}, num2str(doubArr))));

quasi 5 anni fa | 0

Risposto
How to use 2 forloop in matlab?
required = output(1:51);

quasi 5 anni fa | 0

| accettato

Risposto
fprintf handles.Value?
if handles.Value is a string fprintf(f,'%s',handles.Value); if handles.Value is a float value fprintf(f,'%3.2f',str2num(ha...

quasi 5 anni fa | 0

| accettato

Risposto
How to get common sub string in cell array string?
fund_cell = regexp(cell_arr , 'A.A1', 'match'); result = [fund_cell{:}]

quasi 5 anni fa | 0

Risposto
Binarize a metrix with some threshold
A = randi([0, 1000], 5) % dummy marix A = 392 277 317 766 646 656 46 951 795 710 171 97 ...

quasi 5 anni fa | 0

Risposto
save values in array
all_el = unique([A{:}]);

quasi 5 anni fa | 0

| accettato

Risposto
# 1:end
You need to use g(sub2ind(size(g), r,c)) = 1

quasi 5 anni fa | 0

Risposto
if statement with vector
You are checking all values in the if conditioning, it gives pass condition if and only of all values are true, to avoid your si...

circa 5 anni fa | 3

Risposto
How to find the middle element of a square array
function middleElement = FindMiddle(squareArray) % FindMiddle: Return the element in the center of squareArray % Inputs: sq...

circa 5 anni fa | 2

Risposto
Populate .csv with specific times and dates
required_times = t(hour(t)>12 & hour(t)<17) % where timings between 12 to 17 hours of the data

circa 5 anni fa | 0

Risposto
If statement - comparing single value to whole array
if any(B>A) % your code end

circa 5 anni fa | 0

Risposto
Xor operation on two numbers
Since decimal to binary conversion may not produce same length of inputs to xor, we need to append 0's before the binary value ...

circa 5 anni fa | 0

| accettato

Risposto
Index in position 1 is invalid. Array indices must be positive integers or logical values.
Index of the array start from 1 and it must be positive integer in MATLAB. In your code for loop i = 0:366 starting from 0 that...

circa 5 anni fa | 0

| accettato

Risposto
How to read and arrange certain data in multiple text file?
FAM_data = readmatrix('FAM.txt'); FCC_data = readmatrix('FCC.txt'); FM2_data = readmatrix('FM2.txt');

circa 5 anni fa | 0

| accettato

Risposto
area of a circle function file / prompt and fprintf() output
function area_circle() radius = input('Enter the radius: '); area_cir = pi.*radius.^2; disp(['Area of circle: ', num2str(area...

circa 5 anni fa | 0

| accettato

Carica altro