Aditya Salveru
2018 年からアクティブ
Followers: 0 Following: 0
統計
All
Feeds
解決済み
Which doors are open?
There are n doors in an alley. Initially they are all shut. You have been tasked to go down the alley n times, and open/shut the...
6年以上 前
解決済み
Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...
6年以上 前
解決済み
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
6年以上 前
解決済み
Replace NaNs with the number that appears to its left in the row.
Replace NaNs with the number that appears to its left in the row. If there are more than one consecutive NaNs, they should all ...
6年以上 前
回答済み
i am facing problem using a matlab exchange file. i downloaded it but dont know the procedure to use it.
Hi, I suggest you to download the file from MATLAB itself. Search for the Add-On you want, in this case search for 'EM Algori...
i am facing problem using a matlab exchange file. i downloaded it but dont know the procedure to use it.
Hi, I suggest you to download the file from MATLAB itself. Search for the Add-On you want, in this case search for 'EM Algori...
6年以上 前 | 0
| 採用済み
回答済み
Image Analysis - Adding Images
Hi, You can achieve this task by using *imread* and *imshow* functions. *when you read the image using the imread function...
Image Analysis - Adding Images
Hi, You can achieve this task by using *imread* and *imshow* functions. *when you read the image using the imread function...
6年以上 前 | 0
| 採用済み
回答済み
How to save histogram as a png file with the axis values (as it displays in imhist() function ) inside a loop?
Hi, You can save the entire histogram using as it shows in the imhist functions using the below code snippet. saveas(gcf...
How to save histogram as a png file with the axis values (as it displays in imhist() function ) inside a loop?
Hi, You can save the entire histogram using as it shows in the imhist functions using the below code snippet. saveas(gcf...
6年以上 前 | 0
回答済み
Neural Network Batch Training by calling train multiple times
Hi, Your machine is running out of memory as you trying to train network with entire data set at once. I would suggest y...
Neural Network Batch Training by calling train multiple times
Hi, Your machine is running out of memory as you trying to train network with entire data set at once. I would suggest y...
6年以上 前 | 0
回答済み
Root locus plot unable to see properties
Hi Bram, you have to use 'rlocus' function with the transfer function as input then a window opens up showing the root locus ...
Root locus plot unable to see properties
Hi Bram, you have to use 'rlocus' function with the transfer function as input then a window opens up showing the root locus ...
6年以上 前 | 1
| 採用済み
回答済み
Create a signal from concatenating signals with pauses inbetween.
Hi, You can concatenate the signals with zeros of desired length to get a pause in the sound. I have taken a sounds of thr...
Create a signal from concatenating signals with pauses inbetween.
Hi, You can concatenate the signals with zeros of desired length to get a pause in the sound. I have taken a sounds of thr...
6年以上 前 | 1
解決済み
Balanced number
Given a positive integer find whether it is a balanced number. For a balanced number the sum of first half of digits is equal to...
6年以上 前
解決済み
Nearest Numbers
Given a row vector of numbers, find the indices of the two nearest numbers. Examples: [index1 index2] = nearestNumbers([2 5 3...
6年以上 前
回答済み
how to make bar graph outline dotted?
Hi, You can get dotted lines instead of solid black lines by setting *LineStyle* property of *barh* to *':'* . You can also c...
how to make bar graph outline dotted?
Hi, You can get dotted lines instead of solid black lines by setting *LineStyle* property of *barh* to *':'* . You can also c...
6年以上 前 | 0
| 採用済み
回答済み
Create single variable from workspace variables
Hi Juri, You can get the names of all variables in your workspace using *'who'* and you can access the variables with the cor...
Create single variable from workspace variables
Hi Juri, You can get the names of all variables in your workspace using *'who'* and you can access the variables with the cor...
6年以上 前 | 0
| 採用済み
回答済み
Method to plot two audio files in the same graph of (amplitude Vs. Frequency)
Hi Harindu, You can plot the frequency spectra of both the signals on the same graph by using the command. hold on I ...
Method to plot two audio files in the same graph of (amplitude Vs. Frequency)
Hi Harindu, You can plot the frequency spectra of both the signals on the same graph by using the command. hold on I ...
6年以上 前 | 0
回答済み
calculating max value of each interval in a data and apply loop for each interval.
Hi sud, You can do this by by finding the max of 1-10,1-20,1-30....elements. The code for the same is as follows: k=ran...
calculating max value of each interval in a data and apply loop for each interval.
Hi sud, You can do this by by finding the max of 1-10,1-20,1-30....elements. The code for the same is as follows: k=ran...
6年以上 前 | 0
| 採用済み
解決済み
Cell joiner
You are given a cell array of strings and a string delimiter. You need to produce one string which is composed of each string fr...
6年以上 前
解決済み
Find the alphabetic word product
If the input string s is a word like 'hello', then the output word product p is a number based on the correspondence a=1, b=2, ....
6年以上 前
回答済み
How to change X and Y axis values on a heatmap.
Hi Myles, You can change the x axis and y axis values by providing them as input to heatmap. Create numemric arrays x,y wi...
How to change X and Y axis values on a heatmap.
Hi Myles, You can change the x axis and y axis values by providing them as input to heatmap. Create numemric arrays x,y wi...
6年以上 前 | 2
| 採用済み
解決済み
The Goldbach Conjecture
The <http://en.wikipedia.org/wiki/Goldbach's_conjecture Goldbach conjecture> asserts that every even integer greater than 2 can ...
6年以上 前
解決済み
How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...
6年以上 前
解決済み
Bullseye Matrix
Given n (always odd), return output a that has concentric rings of the numbers 1 through (n+1)/2 around the center point. Exampl...
6年以上 前
解決済み
The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".
6年以上 前
解決済み
Target sorting
Sort the given list of numbers |a| according to how far away each element is from the target value |t|. The result should return...
6年以上 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
6年以上 前
解決済み
Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...
6年以上 前
解決済み
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
6年以上 前
解決済み
Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...
6年以上 前
解決済み
Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...
6年以上 前